Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 16, 2024
1 parent 081ec6c commit 885f7e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CARET_trace/src/tracing_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ bool TracingController::is_allowed_callback(const void * callback)

bool TracingController::is_allowed_node(const void * node_handle)
{
std::shared_lock<std::shared_timed_mutex> lock(mutex_); // read lock
std::shared_lock<std::shared_timed_mutex> lock(mutex_); // read lock
auto node_name_it = node_handle_to_node_names_.find(node_handle);
if (node_name_it == node_handle_to_node_names_.end()) {
return true;
Expand All @@ -264,7 +264,7 @@ bool TracingController::is_allowed_node(const void * node_handle)

bool TracingController::is_allowed_subscription_handle(const void * subscription_handle)
{
std::shared_lock<std::shared_timed_mutex> lock(mutex_); // read lock
std::shared_lock<std::shared_timed_mutex> lock(mutex_); // read lock
auto node_handle_it = subscription_handle_to_node_handles_.find(subscription_handle);
if (node_handle_it == subscription_handle_to_node_handles_.end()) {
return true;
Expand Down

0 comments on commit 885f7e3

Please sign in to comment.