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 Apr 23, 2024
1 parent b359077 commit 6dfffdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CARET_trace/include/caret_trace/tracing_controller.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ class TracingController
/// @param publisher_handle Address of the publisher handle.
/// @param message Address of the messgae.

Check warning on line 130 in CARET_trace/include/caret_trace/tracing_controller.hpp

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (messgae)
/// @return True if the publisher is enabled, false otherwise.
bool is_allowed_publisher_handle_and_add_message(const void * publisher_handle, const void * message);
bool is_allowed_publisher_handle_and_add_message(
const void * publisher_handle, const void * message);

/// @brief Check if trace point is a enabled subscription
/// @param subscription_handle Address of the subscription handle.
Expand Down
6 changes: 2 additions & 4 deletions CARET_trace/src/tracing_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,7 @@ bool TracingController::is_allowed_publisher_handle(const void * publisher_handl
}

bool TracingController::is_allowed_publisher_handle_and_add_message(
const void * publisher_handle,
const void * message)
const void * publisher_handle, const void * message)
{
std::unordered_map<const void *, bool>::iterator is_allowed_it;
{
Expand Down Expand Up @@ -1008,8 +1007,7 @@ void TracingController::add_client_handle(const void * client_handle, const void
allowed_client_handles_.erase(client_handle);
}

void TracingController::add_allowed_messages(
const void * message, bool is_allowed)
void TracingController::add_allowed_messages(const void * message, bool is_allowed)
{
// Be sure to call with "mutex_" locked.
static const int max_sz = 256;
Expand Down

0 comments on commit 6dfffdf

Please sign in to comment.