forked from qt-creator/qt-creator
		
	CppTools: Let BaseEditorDocumentParser acquire the mutex
...so derived classes are freed from doing this. Change-Id: I73f3eca54be14cfd6542a466f0e9c024457bef07 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
		| @@ -44,10 +44,8 @@ BuiltinEditorDocumentParser::BuiltinEditorDocumentParser(const QString &filePath | ||||
|     qRegisterMetaType<CPlusPlus::Snapshot>("CPlusPlus::Snapshot"); | ||||
| } | ||||
|  | ||||
| void BuiltinEditorDocumentParser::update(WorkingCopy workingCopy) | ||||
| void BuiltinEditorDocumentParser::updateHelper(WorkingCopy workingCopy) | ||||
| { | ||||
|     QMutexLocker locker(&m_updateIsRunning); | ||||
|  | ||||
|     const Configuration baseConfig = configuration(); | ||||
|     const bool releaseSourceAndAST_ = releaseSourceAndAST(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user