Skip to content

Commit b1f6c77

Browse files
committed
assertions should be disabled when NDBEUG is set
1 parent 9872ebc commit b1f6c77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/reactor-cpp/assert.hh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ constexpr bool runtime_validation = false;
1515
#endif
1616

1717
#ifdef NDEBUG
18-
constexpr bool runtime_assertion = NDEBUG;
19-
#else
2018
constexpr bool runtime_assertion = false;
19+
#else
20+
constexpr bool runtime_assertion = true;
2121
#endif
2222

2323
#include <cassert>

0 commit comments

Comments
 (0)