mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-11-17 07:48:27 +01:00
Fixed a stupid bug i just introduced
This commit is contained in:
parent
57c1fcaf8e
commit
bd07fedf18
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
* Copyright (C) 1999-2005 Eliot
|
||||
* Authors: Antoine Fraboulet <antoine.fraboulet@free.fr>
|
||||
*
|
||||
* $Id: debug.h,v 1.5 2005/03/27 21:45:04 ipkiss Exp $
|
||||
* $Id: debug.h,v 1.6 2005/03/27 22:08:31 ipkiss Exp $
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -35,9 +35,9 @@
|
|||
// and stops execution, otherwise do nothing.
|
||||
# define ASSERT(cond, msg) \
|
||||
{ \
|
||||
if (!cond) \
|
||||
if (!(cond)) \
|
||||
{ \
|
||||
cerr << "ASSERTION FAILED: " << msg << " (at " \
|
||||
cerr << "ASSERTION FAILED: " << (msg) << " (at " \
|
||||
<< __FILE__ << "#" << __LINE__ << ")\n"; \
|
||||
abort(); \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue