[Lemon-commits] Peter Kovacs: Bugfix in assert.h (#461)

Lemon HG hg at lemon.cs.elte.hu
Tue Jul 30 15:56:25 CEST 2013


details:   http://lemon.cs.elte.hu/hg/lemon/rev/0e30f63d45d0
changeset: 1242:0e30f63d45d0
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Sat Mar 16 16:50:39 2013 +0100
description:
	Bugfix in assert.h (#461)

diffstat:

 lemon/assert.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 756022ac1674 -r 0e30f63d45d0 lemon/assert.h
--- a/lemon/assert.h	Tue Jul 30 15:03:53 2013 +0200
+++ b/lemon/assert.h	Sat Mar 16 16:50:39 2013 +0100
@@ -199,7 +199,7 @@
                              LEMON_FUNCTION_NAME,                       \
                              ::lemon::_assert_bits::cstringify(msg),    \
                              #exp), 0)))
-#    if LEMON_ENABLE_DEBUG
+#    if defined LEMON_ENABLE_DEBUG
 #      define LEMON_DEBUG(exp, msg)                                     \
          (static_cast<void> (!!(exp) ? 0 : (                            \
            LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                     \


More information about the Lemon-commits mailing list