From ffd45d6a5bd1e95065da71f00b6a9107b805c3ae Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 15 Sep 2021 15:22:36 +0200 Subject: Made logging macros always append `sv` string_view literal suffix Fixed up the few instances of explicit string_view arguments to make sure they compile properly with the new macros --- zencore/logging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zencore/logging.cpp') diff --git a/zencore/logging.cpp b/zencore/logging.cpp index 9d5a726f5..00ec845b4 100644 --- a/zencore/logging.cpp +++ b/zencore/logging.cpp @@ -9,7 +9,7 @@ namespace zen { spdlog::logger& Log() { - return *spdlog::default_logger(); + return *spdlog::default_logger_raw(); } } // namespace zen @@ -19,7 +19,7 @@ namespace zen::logging { spdlog::logger& Default() { - return *spdlog::default_logger(); + return *spdlog::default_logger_raw(); } spdlog::logger& -- cgit v1.2.3