From cd06fdcd6766bb749cc27ae42afe80e338358176 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 5 Apr 2018 12:13:37 +1000 Subject: [PATCH] debug: add assertions_enabled variable --- debug.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debug.hpp b/debug.hpp index 98517a75..01053efe 100644 --- a/debug.hpp +++ b/debug.hpp @@ -32,8 +32,10 @@ // (more) macros. #if !defined(NDEBUG) constexpr bool debug_enabled = true; + constexpr bool assertions_enabled = true; #else constexpr bool debug_enabled = false; + constexpr bool assertions_enabled = false; #endif