rename Assert to beammp_assert

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

No files matched your search

+1 -1
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.