forked from rosebudai/OpenRCT2-Web
Favour constexpr function over macro on Crypt.CNG.cpp
This commit is contained in:
1 parent
720c17eea6
commit
55f2eeb04d
1 file changed
+1
-1
@@ -24,7 +24,7 @@
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
#include <bcrypt.h>
|
||||
#define NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0)
|
||||
constexpr bool NT_SUCCESS(NTSTATUS status) {return status >= 0;}
|
||||
// clang-format on
|
||||
|
||||
using namespace Crypt;
|
||||
|
||||
Reference in new issue
Block a user