From f9566a0101bd1d29c9f9aa135728dfedcb47ff7c Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 3 May 2024 18:57:32 +0300 Subject: [PATCH] Remove unneeded inline from template function --- include/spdlog/sinks/null_sink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/sinks/null_sink.h b/include/spdlog/sinks/null_sink.h index 72ea281b..e8ea21f1 100644 --- a/include/spdlog/sinks/null_sink.h +++ b/include/spdlog/sinks/null_sink.h @@ -23,14 +23,14 @@ using null_sink_st = null_sink; } // namespace sinks template -inline std::shared_ptr null_logger_mt(const std::string &logger_name) { +std::shared_ptr null_logger_mt(const std::string &logger_name) { auto null_logger = Factory::template create(logger_name); null_logger->set_level(level::off); return null_logger; } template -inline std::shared_ptr null_logger_st(const std::string &logger_name) { +std::shared_ptr null_logger_st(const std::string &logger_name) { auto null_logger = Factory::template create(logger_name); null_logger->set_level(level::off); return null_logger;