Skip to content

Commit

Permalink
Update moveit_core/utils/src/logger.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjw authored Oct 24, 2023
1 parent 69ca425 commit 42347e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions moveit_core/utils/src/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ rclcpp::Logger make_child_logger(const std::string& name)
child_nodes.push_back(std::make_shared<rclcpp::Node>(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
Expand Down

0 comments on commit 42347e6

Please sign in to comment.