mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Ref T280, clients as callsign map as this is faster
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "blackmisc/aviation/callsignset.h"
|
||||
#include "blackmisc/provider.h"
|
||||
#include <QReadWriteLock>
|
||||
#include <QMap>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -101,7 +102,7 @@ namespace BlackMisc
|
||||
//! @}
|
||||
|
||||
private:
|
||||
CClientList m_clients;
|
||||
QMap<BlackMisc::Aviation::CCallsign, BlackMisc::Network::CClient> m_clients;
|
||||
mutable QReadWriteLock m_lockClient; //!< lock clients: m_clients
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user