diff --git a/include/spdlog/details/registry.h b/include/spdlog/details/registry.h index 1dff8cdb..00492151 100644 --- a/include/spdlog/details/registry.h +++ b/include/spdlog/details/registry.h @@ -68,7 +68,10 @@ public: periodic_flusher_ = details::make_unique(clbk, interval); } - std::unique_ptr &get_flusher() { std::lock_guard lock(flusher_mutex_); return periodic_flusher_; } + std::unique_ptr &get_flusher() { + std::lock_guard lock(flusher_mutex_); + return periodic_flusher_; + } void set_error_handler(err_handler handler);