mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
Fixed some clang-tidy warning
This commit is contained in:
@@ -112,7 +112,7 @@ public:
|
||||
void flush_every(std::chrono::seconds interval)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(flusher_mutex_);
|
||||
std::function<void()> clbk(std::bind(®istry::flush_all, this));
|
||||
std::function<void()> clbk = std::bind(®istry::flush_all, this);
|
||||
periodic_flusher_.reset(new periodic_worker(clbk, interval));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user