debug: add assertions_enabled variable
This commit is contained in:
parent
de247c7e7b
commit
cd06fdcd67
@ -32,8 +32,10 @@
|
|||||||
// (more) macros.
|
// (more) macros.
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
constexpr bool debug_enabled = true;
|
constexpr bool debug_enabled = true;
|
||||||
|
constexpr bool assertions_enabled = true;
|
||||||
#else
|
#else
|
||||||
constexpr bool debug_enabled = false;
|
constexpr bool debug_enabled = false;
|
||||||
|
constexpr bool assertions_enabled = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user