diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-08 14:52:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-08 14:52:25 +0000 |
commit | 4645425dc6f62030857996d901d57c71d6ed9973 (patch) | |
tree | 7fc1df1809882ac0d94ea30a137e7f3a970932b8 /ros-humble-nav-2d-utils-1.1.9-fix-gcc12-compile-error.patch | |
parent | 64c1565d3349b95e5cb963068ee79202b0b65a52 (diff) |
automatic import of ros-humble-nav-2d-utilsopeneuler24.03_LTS
Diffstat (limited to 'ros-humble-nav-2d-utils-1.1.9-fix-gcc12-compile-error.patch')
-rw-r--r-- | ros-humble-nav-2d-utils-1.1.9-fix-gcc12-compile-error.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ros-humble-nav-2d-utils-1.1.9-fix-gcc12-compile-error.patch b/ros-humble-nav-2d-utils-1.1.9-fix-gcc12-compile-error.patch new file mode 100644 index 0000000..ec6d54d --- /dev/null +++ b/ros-humble-nav-2d-utils-1.1.9-fix-gcc12-compile-error.patch @@ -0,0 +1,12 @@ +diff -Naur ros-humble-nav-2d-utils-1.1.9_org/include/nav_2d_utils/parameters.hpp ros-humble-nav-2d-utils-1.1.9/include/nav_2d_utils/parameters.hpp +--- ros-humble-nav-2d-utils-1.1.9_org/include/nav_2d_utils/parameters.hpp 2023-09-11 18:09:33.622244466 +0800 ++++ ros-humble-nav-2d-utils-1.1.9/include/nav_2d_utils/parameters.hpp 2023-09-11 18:08:47.389567205 +0800 +@@ -64,7 +64,7 @@ + const nav2_util::LifecycleNode::SharedPtr & nh, const std::string & param_name, + const param_t & default_value) + { +- param_t value; ++ param_t value = default_value; + nav2_util::declare_parameter_if_not_declared( + nh, param_name, + rclcpp::ParameterValue(default_value)); |