mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-27 09:58:08 +01:00
Accept "<<" in the message of the ASSERT macro
This commit is contained in:
parent
3c29804148
commit
89892c622c
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ using std::endl;
|
||||||
{ \
|
{ \
|
||||||
if (!(cond)) \
|
if (!(cond)) \
|
||||||
{ \
|
{ \
|
||||||
cerr << "ASSERTION FAILED: " << (msg) << " (at " \
|
cerr << "ASSERTION FAILED: "; \
|
||||||
|
cerr << msg; \
|
||||||
|
cerr << " (at " \
|
||||||
<< __FILE__ << "#" << __LINE__ << ")\n"; \
|
<< __FILE__ << "#" << __LINE__ << ")\n"; \
|
||||||
abort(); \
|
abort(); \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in a new issue