mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Favour constexpr function over macro on Crypt.CNG.cpp
This commit is contained in:
@@ -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