This commit is contained in:
Klaus Basan
2018-07-31 01:02:52 +02:00
parent 4ca6bb11aa
commit 418584c5e3
9 changed files with 43 additions and 61 deletions

View File

@@ -36,9 +36,9 @@ namespace BlackMisc
CSimulatedAircraftList CRemoteAircraftProvider::getAircraftInRange() const
{
QReadLocker l(&m_lockAircraft);
const QList<CSimulatedAircraft> aircraft = m_aircraftInRange.values();
const QList<CSimulatedAircraft> aircraftInRange = m_aircraftInRange.values();
l.unlock();
return CSimulatedAircraftList(aircraft);
return CSimulatedAircraftList(aircraftInRange);
}
CCallsignSet CRemoteAircraftProvider::getAircraftInRangeCallsigns() const