gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Bug fix in assert.h (ticket #125)
0 1 0
default
1 file changed with 1 insertions and 1 deletions:
↑ Collapse diff ↑
Show white space 24 line context
... ...
@@ -228,24 +228,24 @@
228 228
#    define LEMON_ASSERT(exp, msg)                                      \
229 229
       (static_cast<void> (!!(exp) ? 0 : (                              \
230 230
        LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                        \
231 231
                             LEMON_FUNCTION_NAME,                       \
232 232
                             ::lemon::_assert_bits::cstringify(msg),    \
233 233
                             #exp), 0)))
234 234
#    define LEMON_FIXME(msg)                                            \
235 235
       (LEMON_ASSERT_HANDLER(__FILE__, __LINE__, LEMON_FUNCTION_NAME,   \
236 236
                             ::lemon::_assert_bits::cstringify(msg),    \
237 237
                             static_cast<const char*>(0)))
238 238

	
239 239
#    if LEMON_ENABLE_DEBUG
240
#      define LEMON_DEBUG(exp, msg)
240
#      define LEMON_DEBUG(exp, msg)                                     \
241 241
         (static_cast<void> (!!(exp) ? 0 : (                            \
242 242
           LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                     \
243 243
                                LEMON_FUNCTION_NAME,                    \
244 244
                                ::lemon::_assert_bits::cstringify(msg), \
245 245
                                #exp), 0)))
246 246
#    else
247 247
#      define LEMON_DEBUG(exp, msg) (static_cast<void>(0))
248 248
#    endif
249 249
#  endif
250 250

	
251 251
#endif
0 comments (0 inline)