diff options
author | rtk0c <[email protected]> | 2022-05-28 20:52:42 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-05-28 20:52:42 -0700 |
commit | 1a6f1ea3b76c3ed4cad5aba5502af390ce50a2c0 (patch) | |
tree | 40627f5cdfd931b8c28f0b3a5ec78ef0d0f2b9f0 /source-common/Enum.hpp | |
parent | 6c3007295a6a8c6803933392834c974ec5f56aa0 (diff) |
Changeset: 42 Change codegen input parsing to lookahead based; lookup table infra; input/output decl infra
Diffstat (limited to 'source-common/Enum.hpp')
-rw-r--r-- | source-common/Enum.hpp | 12 |
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; } |