From 2d58d0e8e9ddca5f65900e7c6062c09d1f5f46e7 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;