From f0ec87250f26ba6fcd9e658908138d3060f4d1d3 Mon Sep 17 00:00:00 2001 From: Tyler Weaver Date: Tue, 24 Oct 2023 08:14:13 -0600 Subject: [PATCH] Update moveit_core/utils/src/logger.cpp --- moveit_core/utils/src/logger.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moveit_core/utils/src/logger.cpp b/moveit_core/utils/src/logger.cpp index d89bfe7c76..f0cd880d74 100644 --- a/moveit_core/utils/src/logger.cpp +++ b/moveit_core/utils/src/logger.cpp @@ -63,8 +63,7 @@ rclcpp::Logger make_child_logger(const std::string& name) child_nodes.push_back(std::make_shared(name, ns)); #endif - auto logger = get_logger_mut().get_child(name); - return logger; + return get_logger_mut().get_child(name); } // Mutable access to global logger for setting to node logger