bug fixed
This commit is contained in:
parent
96eaa6f2f2
commit
b02eef8148
1 changed files with 1 additions and 1 deletions
2
env/assert.hpp
vendored
2
env/assert.hpp
vendored
|
@ -9,7 +9,7 @@ namespace dbg
|
|||
void FireAssert(SourceAddress const & sa, string const & msg);
|
||||
}
|
||||
|
||||
#define CHECK(x, msg) do { if (x) {} else { ::dbg::FireAssert(SRC(), ::msg::MessageList msg) } } while (false)
|
||||
#define CHECK(x, message) do { if (x) {} else { ::dbg::FireAssert(SRC(), ::msg::MessageList message); } } while (false)
|
||||
|
||||
#ifdef DEBUG
|
||||
#define ASSERT(x, msg) CHECK(x, msg)
|
||||
|
|
Reference in a new issue