aboutsummaryrefslogtreecommitdiff
path: root/source-common/Enum.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source-common/Enum.hpp')
-rw-r--r--source-common/Enum.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source-common/Enum.hpp b/source-common/Enum.hpp
index 5e106fe..e8750f2 100644
--- a/source-common/Enum.hpp
+++ b/source-common/Enum.hpp
@@ -61,32 +61,32 @@ public:
}
}
- EnumFlags& operator|=(EnumFlags that) const {
+ EnumFlags& operator|=(EnumFlags that) {
mValue |= that.mValue;
return *this;
}
- EnumFlags& operator&=(EnumFlags that) const {
+ EnumFlags& operator&=(EnumFlags that) {
mValue &= that.mValue;
return *this;
}
- EnumFlags& operator^=(EnumFlags that) const {
+ EnumFlags& operator^=(EnumFlags that) {
mValue ^= that.mValue;
return *this;
}
- EnumFlags& operator|=(TEnum e) const {
+ EnumFlags& operator|=(TEnum e) {
mValue |= 1 << static_cast<Underlying>(e);
return *this;
}
- EnumFlags& operator&=(TEnum e) const {
+ EnumFlags& operator&=(TEnum e) {
mValue &= 1 << static_cast<Underlying>(e);
return *this;
}
- EnumFlags& operator^=(TEnum e) const {
+ EnumFlags& operator^=(TEnum e) {
mValue ^= 1 << static_cast<Underlying>(e);
return *this;
}