aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/cxx11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/cxx11.cc')
-rw-r--r--libtests/cxx11.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/libtests/cxx11.cc b/libtests/cxx11.cc
index 4c2c2cb6..250e7e2b 100644
--- a/libtests/cxx11.cc
+++ b/libtests/cxx11.cc
@@ -1,3 +1,5 @@
+#include <qpdf/assert_test.h>
+
#include <cstdint>
#include <cstdlib>
#include <cstring>
@@ -9,12 +11,6 @@
#include <type_traits>
#include <vector>
-#ifdef NDEBUG
-// We need assert even in a release build for test code.
-# undef NDEBUG
-#endif
-#include <cassert>
-
// Functional programming
// Function that returns a callable in the form of a lambda