1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +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

@@ -24,14 +24,6 @@
#include <cstdlib>
#include <string>
void openrct2_assert_fwd(bool expression, const char* message, ...)
{
va_list va;
va_start(va, message);
Guard::Assert_VA(expression, message, va);
va_end(va);
}
namespace Guard
{
constexpr const utf8* ASSERTION_MESSAGE = "An assertion failed, please report this to the OpenRCT2 developers.";