Skip to content

Commit 5084749

Browse files
authored
typo fix for the tutorial how to write the service node. (ros2#4707)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent a86dd94 commit 5084749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Cpp-Service-And-Client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Inside the ``ros2_ws/src/cpp_srvcli/src`` directory, create a new file called ``
9090
#include "rclcpp/rclcpp.hpp"
9191

9292
using AddTwoInts = example_interfaces::srv::AddTwoInts;
93-
rclcpp::node::SharedPtr g_node = nullptr;
93+
rclcpp::Node::SharedPtr g_node = nullptr;
9494

9595
void handle_service(
9696
const std::shared_ptr<rmw_request_id_t> request_header,

0 commit comments

Comments
 (0)