Fix compilation error when NDEBUG is defined.
authorAlpar Juttner <alpar@cs.elte.hu>
Fri, 18 Jul 2008 16:36:54 +0100
changeset 223cfadfeef706f
parent 217 b67149f0e675
child 224 b246072978e8
Fix compilation error when NDEBUG is defined.
test/error_test.cc
     1.1 --- a/test/error_test.cc	Mon Jul 14 15:40:24 2008 +0100
     1.2 +++ b/test/error_test.cc	Fri Jul 18 16:36:54 2008 +0100
     1.3 @@ -31,6 +31,10 @@
     1.4  #undef LEMON_DISABLE_ASSERTS
     1.5  #endif
     1.6  
     1.7 +#ifdef NDEBUG
     1.8 +#undef NDEBUG
     1.9 +#endif
    1.10 +
    1.11  //checking disabled asserts
    1.12  #define LEMON_DISABLE_ASSERTS
    1.13  #include <lemon/assert.h>