mirror of https://github.com/libAthena/athena.git
Minor bitwise enum macro change
This commit is contained in:
parent
c5a4416463
commit
3d59b56a48
|
@ -100,7 +100,7 @@ typedef struct stat64 atStat64_t;
|
|||
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…
Reference in New Issue