mirror of
https://github.com/encounter/aurora.git
synced 2025-07-14 09:06:01 +00:00
Minor bitwise enum macro change
This commit is contained in:
parent
8ce7a33f65
commit
9d5c25978d
@ -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)); \
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user