diff --git a/src/hbba_lite_cpp/core/RosStrategyStateLogger.cpp b/src/hbba_lite_cpp/core/RosStrategyStateLogger.cpp index 9a3ec2f..b2625fe 100644 --- a/src/hbba_lite_cpp/core/RosStrategyStateLogger.cpp +++ b/src/hbba_lite_cpp/core/RosStrategyStateLogger.cpp @@ -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")); }