diff --git a/rclcpp/minimal_client/main.cpp b/rclcpp/minimal_client/main.cpp index 16237392..514fc493 100644 --- a/rclcpp/minimal_client/main.cpp +++ b/rclcpp/minimal_client/main.cpp @@ -23,7 +23,7 @@ using AddTwoInts = example_interfaces::srv::AddTwoInts; int main(int argc, char * argv[]) { rclcpp::init(argc, argv); - auto node = rclcpp::node::Node::make_shared("minimal_client"); + auto node = rclcpp::Node::make_shared("minimal_client"); auto client = node->create_client("add_two_ints"); while (!client->wait_for_service(std::chrono::seconds(1))) { if (!rclcpp::ok()) { diff --git a/rclcpp/minimal_publisher/not_composable.cpp b/rclcpp/minimal_publisher/not_composable.cpp index 10ab705c..432298cb 100644 --- a/rclcpp/minimal_publisher/not_composable.cpp +++ b/rclcpp/minimal_publisher/not_composable.cpp @@ -26,7 +26,7 @@ using namespace std::chrono_literals; int main(int argc, char * argv[]) { rclcpp::init(argc, argv); - auto node = rclcpp::node::Node::make_shared("minimal_publisher"); + auto node = rclcpp::Node::make_shared("minimal_publisher"); auto publisher = node->create_publisher("topic"); auto message = std::make_shared(); auto publish_count = 0;