From 0d1108dbc1b204600deeae00f3694f894cec8b61 Mon Sep 17 00:00:00 2001 From: Benjamin Perseghetti Date: Wed, 31 Jan 2024 18:28:31 -0500 Subject: [PATCH] fix uncrustify but maybe break codecheck. Signed-off-by: Benjamin Perseghetti --- ros_gz_bridge/src/convert/ros_gz_interfaces.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ros_gz_bridge/src/convert/ros_gz_interfaces.cpp b/ros_gz_bridge/src/convert/ros_gz_interfaces.cpp index 7e5e95be..c4d06e49 100644 --- a/ros_gz_bridge/src/convert/ros_gz_interfaces.cpp +++ b/ros_gz_bridge/src/convert/ros_gz_interfaces.cpp @@ -417,11 +417,9 @@ convert_gz_to_ros( const gz::msgs::MaterialColor & gz_msg, ros_gz_interfaces::msg::MaterialColor & ros_msg) { - if (gz_msg.entity_match() == - gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_FIRST) { + if (gz_msg.entity_match() == gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_FIRST) { ros_msg.entity_match = ros_gz_interfaces::msg::MaterialColor::FIRST; - } else if (gz_msg.entity_match() == - gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_ALL) { + } else if (gz_msg.entity_match() == gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_ALL) { ros_msg.entity_match = ros_gz_interfaces::msg::MaterialColor::ALL; } else { std::cerr << "Unsupported EntityMatch [" <<