bug fixed

This commit is contained in:
ExMix 2013-08-05 16:01:09 +03:00
parent 96eaa6f2f2
commit b02eef8148

2
env/assert.hpp vendored
View file

@ -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)