Core/Common: Add macro ASSERT_WITH_SIDE_EFFECTS to be used when asserting conditions that have side effects

(cherry picked from commit 49da3533cd4a0fcd8b2ac7ae0bf4b105f40f8c77)
This commit is contained in:
jackpoz
2022-01-19 21:18:39 +01:00
committed by Shauren
parent 0e44700598
commit f7c1ae01f8
+2
View File
@@ -69,6 +69,8 @@ TC_COMMON_API std::string GetDebugInfo();
#define ASSERT_NODEBUGINFO WPAssert_NODEBUGINFO
#endif
#define ASSERT_WITH_SIDE_EFFECTS WPAssert
#define ABORT WPAbort
#define ABORT_MSG WPAbort_MSG