summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppmodelmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager.h')
-rw-r--r--src/plugins/cpptools/cppmodelmanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager.h b/src/plugins/cpptools/cppmodelmanager.h
index 30569890e2..d768d8d50b 100644
--- a/src/plugins/cpptools/cppmodelmanager.h
+++ b/src/plugins/cpptools/cppmodelmanager.h
@@ -170,6 +170,7 @@ private:
QMap<ProjectExplorer::Project *, ProjectInfo> m_projects;
mutable QMutex mutex;
+ mutable QMutex protectSnapshot;
struct Editor {
QPointer<TextEditor::ITextEditor> textEditor;