Skip to content

Commit

Permalink
Update registry.h code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime authored Feb 14, 2024
1 parent fe79bfc commit 134f919
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/spdlog/details/registry.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ class SPDLOG_API registry {
periodic_flusher_ = details::make_unique<periodic_worker>(clbk, interval);
}

std::unique_ptr<periodic_worker> &get_flusher() { std::lock_guard<std::mutex> lock(flusher_mutex_); return periodic_flusher_; }
std::unique_ptr<periodic_worker> &get_flusher() {
std::lock_guard<std::mutex> lock(flusher_mutex_);
return periodic_flusher_;
}

void set_error_handler(err_handler handler);

Expand Down

0 comments on commit 134f919

Please sign in to comment.