fixed gcc warning about unordered intialization

This commit is contained in:
gabime 2014-11-07 16:43:27 +02:00
parent b599609dbf
commit 1814c31ff3
2 changed files with 2 additions and 2 deletions

View File

@ -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()) {}

View File

@ -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>