aboutsummaryrefslogtreecommitdiff
path: root/tests/optional/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/optional/driver.cxx')
-rw-r--r--tests/optional/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/optional/driver.cxx b/tests/optional/driver.cxx
index 5d72f08..e73f03e 100644
--- a/tests/optional/driver.cxx
+++ b/tests/optional/driver.cxx
@@ -1,8 +1,6 @@
// file : tests/optional/driver.cxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
-#include <cassert>
-
#ifndef __cpp_lib_modules_ts
#include <vector>
#include <utility> // move()
@@ -19,6 +17,9 @@ import butl.optional;
#include <libbutl/optional.mxx>
#endif
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
struct move_only