From 84bee1d484e9361325c59332c7cb721ddecdcbb8 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Mon, 25 Sep 2023 06:15:14 +0300 Subject: [PATCH] Update logger.cpp --- src/logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.cpp b/src/logger.cpp index 5a4fe314..9f01d8ed 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -27,7 +27,7 @@ logger::logger(logger &&other) noexcept void logger::set_level(level level) { level_.store(level); } -level logger::log_level() const { return static_cast(level_.load(std::memory_order_relaxed)); } +level logger::log_level() const { return level_.load(std::memory_order_relaxed); } const std::string &logger::name() const { return name_; }