Skip to content

Commit

Permalink
Fix RosLogStrategyStateLogger::log
Browse files Browse the repository at this point in the history
  • Loading branch information
mamaheux committed Jan 15, 2024
1 parent cd6ac7a commit a9d3609
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hbba_lite_cpp/core/RosStrategyStateLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ void RosLogStrategyStateLogger::log(DesireType desireType, StrategyType strategy
{
ROS_INFO_STREAM(
"HBBA strategy state changed: "
<< "( " << desireType.name() << ", " << strategyType.name() << ") -> " << enabled ?
"enabled" :
"disabled");
<< "( " << desireType.name() << ", " << strategyType.name() << ") -> " << (enabled ? "enabled" : "disabled"));
}


Expand Down

0 comments on commit a9d3609

Please sign in to comment.