From 1306e638ba7398df97c093f96bcca42aca3b7feb Mon Sep 17 00:00:00 2001 From: Krzysztof Wojciechowski Date: Sat, 25 May 2024 13:56:12 +0000 Subject: [PATCH] Apply ament_uncrustify --- image_publisher/src/image_publisher.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/image_publisher/src/image_publisher.cpp b/image_publisher/src/image_publisher.cpp index 5839ef46f..0e70750ff 100644 --- a/image_publisher/src/image_publisher.cpp +++ b/image_publisher/src/image_publisher.cpp @@ -105,11 +105,10 @@ ImagePublisher::ImagePublisher( } } // reconfigureCallback() is called within onInit() so there is no need to call it twice - if (call_reconfigure && !call_init) - { - ImagePublisher::reconfigureCallback(); + if (call_reconfigure && !call_init) { + ImagePublisher::reconfigureCallback(); } else if (call_init) { - ImagePublisher::onInit(); + ImagePublisher::onInit(); } return result;