1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

Replace openrct2_assert with Guard::Assert, remove openrct2_assert

This commit is contained in:
Matthias Moninger
2023-07-02 17:42:46 +03:00
committed by GitHub
parent 379287ed0f
commit 3ef6003671
14 changed files with 37 additions and 53 deletions

View File

@@ -186,7 +186,7 @@ static int32_t BitCountPopcnt(uint32_t source)
#elif defined(OpenRCT2_CPUID_MSVC_X86)
return _mm_popcnt_u32(source);
#else
openrct2_assert(false, "bitcount_popcnt() called, without support compiled in");
Guard::Fail("bitcount_popcnt() called, without support compiled in");
return INT_MAX;
#endif
}