rename Assert to beammp_assert

This commit is contained in:
Lion Kortlepel
2021-09-16 01:04:38 +02:00
parent dd4e4c4467
commit f5b2be0a03
3 changed files with 6 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ inline void _assert([[maybe_unused]] const char* file, [[maybe_unused]] const ch
}
}
#define Assert(cond) _assert(__FILE__, __func__, __LINE__, #cond, (cond))
#define beammp_assert(cond) _assert(__FILE__, __func__, __LINE__, #cond, (cond))
#define AssertNotReachable() _assert(__FILE__, __func__, __LINE__, "reached unreachable code", false)
#else
// In release build, these macros turn into NOPs. The compiler will optimize these out.