forked from qt-creator/qt-creator
Fix build with newest Qt6
Task-number: QTCREATORBUG-24098 Change-Id: I8ced79ecd590dbeeb3038054e75ee0632ca37462 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -32,7 +32,6 @@ using namespace CppTools::Internal;
|
||||
enum { MaxPendingDocuments = 10 };
|
||||
|
||||
CppLocatorData::CppLocatorData()
|
||||
: m_pendingDocumentsMutex(QMutex::Recursive)
|
||||
{
|
||||
m_search.setSymbolsToSearchFor(SymbolSearcher::Enums |
|
||||
SymbolSearcher::Classes |
|
||||
|
||||
@@ -66,7 +66,7 @@ private:
|
||||
mutable SearchSymbols m_search;
|
||||
mutable QHash<QString, IndexItem::Ptr> m_infosByFile;
|
||||
|
||||
mutable QMutex m_pendingDocumentsMutex;
|
||||
mutable QRecursiveMutex m_pendingDocumentsMutex;
|
||||
mutable QVector<CPlusPlus::Document::Ptr> m_pendingDocuments;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user