fixed gcc warning about unordered intialization
This commit is contained in:
parent
b599609dbf
commit
1814c31ff3
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user