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 16, 2024
1 parent c183502 commit 4fa8dc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CARET_trace/src/tracing_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ void check_condition_set(std::unordered_set<std::string> conditions, bool use_lo
}
}

bool is_iron_or_later() {
const char* ros_distro = std::getenv("ROS_DISTRO");
bool is_iron_or_later()
{
const char * ros_distro = std::getenv("ROS_DISTRO");
if (ros_distro[0] >= "iron"[0]) {
return true;
}
Expand Down

0 comments on commit 4fa8dc7

Please sign in to comment.