Commit 1814c31f authored by gabime's avatar gabime

fixed gcc warning about unordered intialization

parent b599609d
......@@ -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()) {}
......
......@@ -83,8 +83,8 @@ public:
private:
friend details::line_logger;
std::string _name;
formatter_ptr _formatter;
std::vector<sink_ptr> _sinks;
formatter_ptr _formatter;
std::atomic_int _level;
void _variadic_log(details::line_logger& l);
template <typename Last>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment