mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Base] Fixed compilation error in VS 17.9x. Thanks Chrispy
This commit is contained in:
parent
93b5886e22
commit
529d453986
|
|
@ -56,7 +56,7 @@
|
||||||
} \
|
} \
|
||||||
template <typename TRet = void, typename... TArgs> \
|
template <typename TRet = void, typename... TArgs> \
|
||||||
inline TRet invoke(TArgs... args) { \
|
inline TRet invoke(TArgs... args) { \
|
||||||
return reinterpret_cast<NTSYSAPI TRet(NTAPI*)(TArgs...)>(fn)(args...); \
|
return reinterpret_cast<TRet(NTAPI*)(TArgs...)>(fn)(args...); \
|
||||||
} \
|
} \
|
||||||
inline operator bool() const { return fn != nullptr; } \
|
inline operator bool() const { return fn != nullptr; } \
|
||||||
} clsvar
|
} clsvar
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue