Misc: use concepts instead of SFINAE

This commit is contained in:
oltolm authored and Ty committed 2026-01-13 19:41:05 -05:00
1 parent ad6d0f7a6b
commit 0da84c2c69
9 files changed
+54 -44

No files matched your search

+2 -2
View File
@@ -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;