From 3fb98b95f519ca638d041071b294584825b403c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20=C3=9Chlein?= Date: Mon, 26 Jun 2023 11:47:53 +0200 Subject: [PATCH] fix bugs --- include/spdlog/logger-inl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/logger-inl.h b/include/spdlog/logger-inl.h index a4874041..fccf46ce 100644 --- a/include/spdlog/logger-inl.h +++ b/include/spdlog/logger-inl.h @@ -116,7 +116,7 @@ SPDLOG_INLINE void logger::disable_backtrace() tracer_.disable(); } -SPDLOG_INLINE void logger::dump_backtrace(bool with_message=true) +SPDLOG_INLINE void logger::dump_backtrace(bool with_message) { dump_backtrace_(with_message); } @@ -207,7 +207,7 @@ SPDLOG_INLINE void logger::flush_() } } -SPDLOG_INLINE void logger::dump_backtrace_(bool with_message=true) +SPDLOG_INLINE void logger::dump_backtrace_(bool with_message) { using details::log_msg; if (tracer_.enabled() && !tracer_.empty())