diff options
Diffstat (limited to 'source-common')
-rw-r--r-- | source-common/Enum.hpp | 12 | ||||
-rw-r--r-- | source-common/MacrosCodegen.hpp | 2 |
2 files changed, 7 insertions, 7 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; } diff --git a/source-common/MacrosCodegen.hpp b/source-common/MacrosCodegen.hpp index d6d5c6f..6803023 100644 --- a/source-common/MacrosCodegen.hpp +++ b/source-common/MacrosCodegen.hpp @@ -3,5 +3,5 @@ #pragma once -#define BRUSSEL_CLASS +#define BRUSSEL_CLASS(name, options) #define BRUSSEL_ENUM(name, options) |