From bd69b5d87701aff9c7f8e06d28e1bd2abc28a5d8 Mon Sep 17 00:00:00 2001 From: Hubert Liberacki Date: Thu, 31 Mar 2022 17:43:27 +0200 Subject: [PATCH] Replace deprecated spin_until_future_complete with spin_until_complete Signed-off-by: Hubert Liberacki --- test/test_ros2_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ros2_client.cpp b/test/test_ros2_client.cpp index c8dd6b79..9429ef10 100644 --- a/test/test_ros2_client.cpp +++ b/test/test_ros2_client.cpp @@ -33,7 +33,7 @@ int main(int argc, char ** argv) auto future = client->async_send_request(request); if ( - rclcpp::spin_until_future_complete(node, future, 2s) == + rclcpp::spin_until_complete(node, future, 2s) == rclcpp::FutureReturnCode::SUCCESS) { auto response = future.get();