mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Style and comments
This commit is contained in:
@@ -416,8 +416,9 @@ namespace BlackMisc
|
||||
|
||||
void CRemoteAircraftProvider::storeChange(const CAircraftSituationChange &change)
|
||||
{
|
||||
QWriteLocker lock(&m_lockChanges);
|
||||
// a change with the same timestamp will be replaced
|
||||
const CCallsign cs(change.getCallsign());
|
||||
QWriteLocker lock(&m_lockChanges);
|
||||
CAircraftSituationChangeList &changeList = m_changesByCallsign[cs];
|
||||
changeList.push_frontKeepLatestAdjustedFirst(change, true, IRemoteAircraftProvider::MaxSituationsPerCallsign);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user