Compare commits

...

1 Commits

Author SHA1 Message Date
Jack Andersen
3a6ee9a70c Minor bitwise enum macro change 2018-12-15 20:30:54 -10:00

View File

@@ -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)); \
}