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_; }