mirror of
https://github.com/uowuo/abaddon.git
synced 2024-11-10 14:10:10 +00:00
thanks for nothing microsoft
This commit is contained in:
parent
a8630f53b1
commit
9b78e829b5
2
util.hpp
2
util.hpp
@ -42,7 +42,7 @@ typename std::enable_if<Bitwise<T>::enable, T>::type operator&=(T &a, T b) {
|
||||
|
||||
template<typename T>
|
||||
typename std::enable_if<Bitwise<T>::enable, T>::type operator~(T a) {
|
||||
return static_cast<T>(~static_cast<std::underlying_type<T>::type>(a));
|
||||
return static_cast<T>(~static_cast<typename std::underlying_type<T>::type>(a));
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user