mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-13 06:20:47 +02:00
Misc: use concepts instead of SFINAE
This commit is contained in:
1 parent
ad6d0f7a6b
commit
0da84c2c69
9 files changed
+54
-44
No files matched your search
+2
-2
@@ -14,8 +14,8 @@
|
||||
// Platform-specific includes
|
||||
#if defined(_WIN32)
|
||||
#include "RedtapeWindows.h"
|
||||
static_assert(std::is_same<DWORD, unsigned long>::value, "DWORD is unsigned long");
|
||||
static_assert(std::is_same<HRESULT, long>::value, "HRESULT is long");
|
||||
static_assert(std::is_same_v<DWORD, unsigned long>, "DWORD is unsigned long");
|
||||
static_assert(std::is_same_v<HRESULT, long>, "HRESULT is long");
|
||||
#endif
|
||||
|
||||
Error::Error() = default;
|
||||
|
||||
Reference in new issue
Block a user