mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Use QRecursiveMutex
QMutex with QMutex::Recursive is deprecated
This commit is contained in:
@@ -90,7 +90,7 @@ namespace BlackMisc
|
||||
CIdentifier m_identifier = CIdentifier::anonymous();
|
||||
|
||||
QMap<QString, Channel> m_channels;
|
||||
mutable QMutex m_channelsMutex { QMutex::Recursive };
|
||||
mutable QRecursiveMutex m_channelsMutex;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace BlackMisc::SharedState
|
||||
Channel &getChannel(const QObject *object);
|
||||
|
||||
QMap<QString, Channel> m_channels;
|
||||
mutable QMutex m_channelsMutex { QMutex::Recursive };
|
||||
mutable QRecursiveMutex m_channelsMutex;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user