diff --git a/include/spdlog/details/logger_impl.h b/include/spdlog/details/logger_impl.h index d61770b2..ae7f5ffa 100644 --- a/include/spdlog/details/logger_impl.h +++ b/include/spdlog/details/logger_impl.h @@ -42,7 +42,7 @@ inline spdlog::logger::logger(const std::string& logger_name, const It& begin, c } inline spdlog::logger::logger(const std::string& logger_name, sinks_init_list sinks_list) : - logger(logger_name, sinks_list.begin(), sinks_list.end()) {}; + logger(logger_name, sinks_list.begin(), sinks_list.end()) {} diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 48cb1ddb..522f0eb7 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -83,8 +83,8 @@ public: private: friend details::line_logger; std::string _name; - formatter_ptr _formatter; std::vector _sinks; + formatter_ptr _formatter; std::atomic_int _level; void _variadic_log(details::line_logger& l); template