Commit 3a6ee9a7 authored by Jack Andersen's avatar Jack Andersen

Minor bitwise enum macro change

parent f126245e
......@@ -57,7 +57,7 @@
a = type(static_cast<T>(a) & static_cast<T>(b)); \
return a; \
} \
inline type operator~(const type& key) { \
constexpr type operator~(type key) { \
using T = std::underlying_type_t<type>; \
return type(~static_cast<T>(key)); \
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment