aboutsummaryrefslogtreecommitdiff
path: root/source-common
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-28 20:52:42 -0700
committerrtk0c <[email protected]>2022-05-28 20:52:42 -0700
commit1a6f1ea3b76c3ed4cad5aba5502af390ce50a2c0 (patch)
tree40627f5cdfd931b8c28f0b3a5ec78ef0d0f2b9f0 /source-common
parent6c3007295a6a8c6803933392834c974ec5f56aa0 (diff)
Changeset: 42 Change codegen input parsing to lookahead based; lookup table infra; input/output decl infra
Diffstat (limited to 'source-common')
-rw-r--r--source-common/Enum.hpp12
-rw-r--r--source-common/MacrosCodegen.hpp2
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)