diff --git a/rclcpp/include/rclcpp/executors.hpp b/rclcpp/include/rclcpp/executors.hpp index 8c02eb0ebc..3fedaabbea 100644 --- a/rclcpp/include/rclcpp/executors.hpp +++ b/rclcpp/include/rclcpp/executors.hpp @@ -26,7 +26,7 @@ namespace executors using rclcpp::executors::multi_threaded_executor::MultiThreadedExecutor; using rclcpp::executors::single_threaded_executor::SingleThreadedExecutor; -template +template std::shared_future & spin_node_until_future_complete( rclcpp::executor::Executor & executor, Node::SharedPtr & node_ptr, diff --git a/rclcpp/include/rclcpp/rclcpp.hpp b/rclcpp/include/rclcpp/rclcpp.hpp index 90c0cb986c..02d835a37f 100644 --- a/rclcpp/include/rclcpp/rclcpp.hpp +++ b/rclcpp/include/rclcpp/rclcpp.hpp @@ -76,7 +76,7 @@ void spin(Node::SharedPtr & node_ptr) executor.spin(); } -template +template std::shared_future & spin_until_future_complete( Node::SharedPtr & node_ptr, std::shared_future & future)