[Base] Fixed compilation error in VS 17.9x. Thanks Chrispy

This commit is contained in:
Gliniak 2024-02-27 19:17:20 +01:00
parent 93b5886e22
commit 529d453986
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
} \
template <typename TRet = void, typename... TArgs> \
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; } \
} clsvar