diff options
Diffstat (limited to 'source-common')
-rw-r--r-- | source-common/Enum.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source-common/Enum.hpp b/source-common/Enum.hpp index e8750f2..8ad75ba 100644 --- a/source-common/Enum.hpp +++ b/source-common/Enum.hpp @@ -18,7 +18,7 @@ public: } EnumFlags(TEnum e) - : mValue{ 1 << static_cast<Underlying>(e) } { + : mValue{ static_cast<Underlying>(1) << static_cast<Underlying>(e) } { } bool IsSet(EnumFlags mask) const { |