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:
committed by
GitHub
parent
379287ed0f
commit
3ef6003671
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user