From de73fc6fd981bf0b1a422701d8a74c0871873226 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Sun, 3 Jul 2022 13:40:09 +0200 Subject: [PATCH] Fix some things --- src/client/component/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/console.cpp b/src/client/component/console.cpp index f5e67f2..61d546f 100644 --- a/src/client/component/console.cpp +++ b/src/client/component/console.cpp @@ -146,7 +146,7 @@ private: HWND get_window() { return *reinterpret_cast(0x5A86330); } void print(std::string_view fmt, std::format_args&& args, - const std::source_location& loc) { + [[maybe_unused]] const std::source_location& loc) { #ifdef _DEBUG const auto msg = std::vformat(fmt, args); const auto line = std::format("Debug:\n {}\nFile: {}\nLine: {}\n",