diff options
Diffstat (limited to 'src/cru_debug.hpp')
-rw-r--r-- | src/cru_debug.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cru_debug.hpp b/src/cru_debug.hpp index 9c22a24f..58431d56 100644 --- a/src/cru_debug.hpp +++ b/src/cru_debug.hpp @@ -7,7 +7,11 @@ #include "util/format.hpp" namespace cru::debug { +#ifdef CRU_DEBUG void DebugMessage(const StringView& message); +#else +inline void DebugMessage(const StringView& message) {} +#endif #ifdef CRU_DEBUG inline void DebugTime(const std::function<void()>& action, |