diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-11 22:00:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-11 22:00:06 +0300 |
commit | 0a9a03db742454d7410e80fa0e1a4b0c18a37da0 (patch) | |
tree | 7574e74cd8c82e373f3813d298ff5fac26456c15 /src/utils | |
parent | c82a88a8fcb448ee1d16ce47bb3c67f72b252a93 (diff) | |
download | manaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.tar.gz manaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.tar.bz2 manaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.tar.xz manaverse-0a9a03db742454d7410e80fa0e1a4b0c18a37da0.zip |
Add missing "assert" wors into alwaysReport macro.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/checkutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h index 18f958d8d..b67c5d566 100644 --- a/src/utils/checkutils.h +++ b/src/utils/checkutils.h @@ -33,6 +33,7 @@ #define reportAlwaysReal(...) \ { \ + logger->log("Assert:"); \ logger->assertLog( \ __VA_ARGS__); \ reportLogStack(__FILE__, __LINE__, __func__); \ @@ -146,6 +147,7 @@ #define failAlways(...) \ { \ + logger->log("Assert:"); \ logger->assertLog( \ __VA_ARGS__); \ reportLogStack(__FILE__, __LINE__, __func__); \ |