From 13dcc56833c98bc6cd6a806e5e913725d44030a1 Mon Sep 17 00:00:00 2001 From: Hubert Liberacki Date: Thu, 31 Mar 2022 16:46:00 +0200 Subject: [PATCH] Replace depracted `spin_until_future_complete` with `spin_until_complete` Signed-off-by: Hubert Liberacki --- test_tracetools/src/test_lifecycle_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_tracetools/src/test_lifecycle_client.cpp b/test_tracetools/src/test_lifecycle_client.cpp index 40c44325..a9ffb962 100644 --- a/test_tracetools/src/test_lifecycle_client.cpp +++ b/test_tracetools/src/test_lifecycle_client.cpp @@ -265,7 +265,7 @@ int main(int argc, char ** argv) std::shared_future script = std::async( std::launch::async, std::bind(cycle_through_states, client_node)); - exec.spin_until_future_complete(script); + exec.spin_until_complete(script); rclcpp::shutdown();