mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
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) :
|
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:
|
private:
|
||||||
friend details::line_logger;
|
friend details::line_logger;
|
||||||
std::string _name;
|
std::string _name;
|
||||||
formatter_ptr _formatter;
|
|
||||||
std::vector<sink_ptr> _sinks;
|
std::vector<sink_ptr> _sinks;
|
||||||
|
formatter_ptr _formatter;
|
||||||
std::atomic_int _level;
|
std::atomic_int _level;
|
||||||
void _variadic_log(details::line_logger& l);
|
void _variadic_log(details::line_logger& l);
|
||||||
template <typename Last>
|
template <typename Last>
|
||||||
|
Loading…
Reference in New Issue
Block a user