diff options
author | Kargatum <dowlandtop@yandex.com> | 2022-03-16 00:36:49 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 14:36:49 -0300 |
commit | 78bdc898813910c79c3a9c67f2bf9a0f1abef221 (patch) | |
tree | a41d15bdaedcc8880a431f23fb8fdecb263fdf48 /src/common/Debugging/Errors.h | |
parent | 6c60dc38413e5abdf9c1144758d2dcdbf45308be (diff) |
feat(Core/Battleground): rework bg queue system (#10817)
Diffstat (limited to 'src/common/Debugging/Errors.h')
-rw-r--r-- | src/common/Debugging/Errors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Debugging/Errors.h b/src/common/Debugging/Errors.h index fec93713d2..0155d0ddb8 100644 --- a/src/common/Debugging/Errors.h +++ b/src/common/Debugging/Errors.h @@ -56,7 +56,7 @@ AC_COMMON_API std::string GetDebugInfo(); #define WPAssert(cond, ...) do { if (!(cond)) Acore::Assert(__FILE__, __LINE__, __FUNCTION__, GetDebugInfo(), #cond, ##__VA_ARGS__); } while(0) #define WPAssert_NODEBUGINFO(cond) do { if (!(cond)) Acore::Assert(__FILE__, __LINE__, __FUNCTION__, "", #cond); } while(0) -#define WPFatal(cond, ...) do { if (!(cond)) Acore::Fatal(__FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__); } while(0) +#define WPFatal(cond, ...) do { if (!(cond)) Acore::Fatal(__FILE__, __LINE__, __FUNCTION__, #cond, ##__VA_ARGS__); } while(0) #define WPError(cond, msg) do { if (!(cond)) Acore::Error(__FILE__, __LINE__, __FUNCTION__, (msg)); } while(0) #define WPWarning(cond, msg) do { if (!(cond)) Acore::Warning(__FILE__, __LINE__, __FUNCTION__, (msg)); } while(0) #define WPAbort(...) do { Acore::Abort(__FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__); } while(0) |