performance-unnecessary-value-param

This commit is contained in:
Daniel Chabrowski
2018-02-25 00:54:14 +01:00
parent 7aed498540
commit 68f91822ed
5 changed files with 16 additions and 32 deletions

View File

@@ -48,7 +48,7 @@ inline spdlog::async_logger::async_logger(const std::string& logger_name,
const std::function<void()>& worker_teardown_cb) :
async_logger(logger_name,
{
single_sink
std::move(single_sink)
}, queue_size, overflow_policy, worker_warmup_cb, flush_interval_ms, worker_teardown_cb) {}