From 0f3f65e07c3bbdd41aa39738c310e334a71192bc Mon Sep 17 00:00:00 2001 From: Denis Ivaykin Date: Wed, 14 Jan 2015 09:52:38 -0600 Subject: [PATCH] brackets --- include/spdlog/details/async_logger_impl.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/spdlog/details/async_logger_impl.h b/include/spdlog/details/async_logger_impl.h index 455f11c2..ec341578 100644 --- a/include/spdlog/details/async_logger_impl.h +++ b/include/spdlog/details/async_logger_impl.h @@ -44,10 +44,7 @@ inline spdlog::async_logger::async_logger(const std::string& logger_name, sinks_ async_logger(logger_name, sinks.begin(), sinks.end(), queue_size, worker_warmup_cb) {} inline spdlog::async_logger::async_logger(const std::string& logger_name, sink_ptr single_sink, size_t queue_size, const std::function& worker_warmup_cb) : - async_logger(logger_name, -{ - single_sink -}, queue_size, worker_warmup_cb) {} + async_logger(logger_name, { single_sink }, queue_size, worker_warmup_cb) {} inline void spdlog::async_logger::_set_formatter(spdlog::formatter_ptr msg_formatter)