Update registry.h code formatting

This commit is contained in:
Gabi Melman 2024-02-14 21:52:21 +02:00 committed by GitHub
parent fe79bfcc51
commit 134f9194bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,10 @@ public:
periodic_flusher_ = details::make_unique<periodic_worker>(clbk, interval); 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); void set_error_handler(err_handler handler);