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:
Eike Ziller
2020-10-30 13:04:11 +01:00
parent d54f7b0eb2
commit 1cd87a05b5
5 changed files with 3 additions and 8 deletions

View File

@@ -32,7 +32,6 @@ using namespace CppTools::Internal;
enum { MaxPendingDocuments = 10 };
CppLocatorData::CppLocatorData()
: m_pendingDocumentsMutex(QMutex::Recursive)
{
m_search.setSymbolsToSearchFor(SymbolSearcher::Enums |
SymbolSearcher::Classes |

View File

@@ -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;
};