Make Debug only available in debug builds.
This commit is contained in:
parent
3a05564be9
commit
1eeb944e68
1 changed files with 7 additions and 0 deletions
|
@ -23,9 +23,16 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
namespace curry {
|
namespace curry {
|
||||||
|
#if !defined(NDEBUG)
|
||||||
BETTER_ENUM(DrawaLayerNames, uint16_t,
|
BETTER_ENUM(DrawaLayerNames, uint16_t,
|
||||||
Background,
|
Background,
|
||||||
Debug,
|
Debug,
|
||||||
Characters
|
Characters
|
||||||
)
|
)
|
||||||
|
#else
|
||||||
|
BETTER_ENUM(DrawaLayerNames, uint16_t,
|
||||||
|
Background,
|
||||||
|
Characters
|
||||||
|
)
|
||||||
|
#endif
|
||||||
} //namespace curry
|
} //namespace curry
|
||||||
|
|
Loading…
Add table
Reference in a new issue