blob: 1a5d335d1fb8d7b64a7072154902c901a9c38c7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- nav2-util-1.1.20.orig/include/nav2_util/lifecycle_node.hpp 2026-03-28 15:05:47.242026570 +0800
+++ nav2-util-1.1.20/include/nav2_util/lifecycle_node.hpp 2026-03-28 15:05:47.246044676 +0800
@@ -204,7 +204,7 @@
void runCleanups();
// Connection to tell that server is still up
- std::unique_ptr<bond::Bond> bond_{nullptr};
+ std::shared_ptr<bond::Bond> bond_{nullptr};
};
} // namespace nav2_util
--- nav2-util-1.1.20.orig/src/lifecycle_node.cpp 2026-03-28 15:05:47.246044676 +0800
+++ nav2-util-1.1.20/src/lifecycle_node.cpp 2026-03-28 15:05:47.246044676 +0800
@@ -57,7 +57,7 @@
{
RCLCPP_INFO(get_logger(), "Creating bond (%s) to lifecycle manager.", this->get_name());
- bond_ = std::make_unique<bond::Bond>(
+ bond_ = std::make_shared<bond::Bond>(
std::string("bond"),
this->get_name(),
shared_from_this());
|