mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Common: Add macro ASSERT_WITH_SIDE_EFFECTS to be used when asserting conditions that have side effects
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user