1
0
Fork 0

Don't define NDEBUG - this does fancy stuff to assertions.

This commit is contained in:
Wilfried Goesgens 2016-01-06 11:00:31 +01:00
parent 6efb11c922
commit d04fc6ee3a
1 changed files with 0 additions and 6 deletions

View File

@ -33,17 +33,11 @@
// debug mode
#ifdef VELOCYPACK_DEBUG
#ifndef DEBUG
#define DEBUG
#endif
#include <cassert>
#define VELOCYPACK_ASSERT(x) assert(x)
#else
#ifndef NDEBUG
#define NDEBUG
#endif
#define VELOCYPACK_ASSERT(x)
#endif