aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/baseeditordocumentparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/baseeditordocumentparser.h')
-rw-r--r--src/plugins/cppeditor/baseeditordocumentparser.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/baseeditordocumentparser.h b/src/plugins/cppeditor/baseeditordocumentparser.h
index 2e10d56178..2f48058b8b 100644
--- a/src/plugins/cppeditor/baseeditordocumentparser.h
+++ b/src/plugins/cppeditor/baseeditordocumentparser.h
@@ -50,6 +50,13 @@ public:
bool usePrecompiledHeaders = false;
QByteArray editorDefines;
QString preferredProjectPartId;
+
+ bool operator==(const Configuration &other)
+ {
+ return usePrecompiledHeaders == other.usePrecompiledHeaders
+ && editorDefines == other.editorDefines
+ && preferredProjectPartId == other.preferredProjectPartId;
+ }
};
struct UpdateParams {