From a9d36090e74f457044374c67afb71217f30083e1 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Maheux Date: Mon, 15 Jan 2024 17:24:56 -0500 Subject: [PATCH] Fix RosLogStrategyStateLogger::log --- src/hbba_lite_cpp/core/RosStrategyStateLogger.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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")); }