From 221c62de313ad811ca2b3ae8ba43996c96c347bc Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 13 Dec 2019 23:53:06 +0800 Subject: ... --- include/cru/common/logger.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cru/common') diff --git a/include/cru/common/logger.hpp b/include/cru/common/logger.hpp index 61d97422..35b16940 100644 --- a/include/cru/common/logger.hpp +++ b/include/cru/common/logger.hpp @@ -91,6 +91,8 @@ void Debug(const std::string_view& format, TArgs&&... args) { #ifdef CRU_DEBUG Logger::GetInstance()->Log( LogLevel::Debug, util::Format(format, std::forward(args)...)); +#else + CRU_UNUSED(format) #endif } -- cgit v1.2.3