mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +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)) \
|
||||
{ \
|
||||
cerr << "ASSERTION FAILED: " << (msg) << " (at " \
|
||||
cerr << "ASSERTION FAILED: "; \
|
||||
cerr << msg; \
|
||||
cerr << " (at " \
|
||||
<< __FILE__ << "#" << __LINE__ << ")\n"; \
|
||||
abort(); \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue