aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/Token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Token.h')
-rw-r--r--src/libs/3rdparty/cplusplus/Token.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/Token.h b/src/libs/3rdparty/cplusplus/Token.h
index c460f59582..7cf9fca3f3 100644
--- a/src/libs/3rdparty/cplusplus/Token.h
+++ b/src/libs/3rdparty/cplusplus/Token.h
@@ -407,6 +407,16 @@ struct LanguageFeatures
return features;
}
+ bool operator==(const LanguageFeatures &other) const
+ {
+ return flags == other.flags;
+ }
+
+ bool operator!=(const LanguageFeatures &other) const
+ {
+ return flags != other.flags;
+ }
+
union {
unsigned int flags;
struct {