From e1c7e6fde4a4b4cb906a4e029b650da461553d90 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 16 Sep 2023 02:23:26 +0300 Subject: [PATCH] Update logger.h --- include/spdlog/logger.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 187fcebf..22d83ae9 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -266,7 +266,7 @@ public: } #endif - // return true logging is enabled for the given level. + // return true if logging is enabled for the given level. [[nodiscard]] bool should_log(level::level_enum msg_level) const { return msg_level >= level_.load(std::memory_order_relaxed); @@ -361,7 +361,6 @@ protected: void err_handler_(const std::string &msg); }; -void swap(logger &a, logger &b); } // namespace spdlog