Skip to content

Commit

Permalink
Replace depracted spin_until_future_complete with `spin_until_compl…
Browse files Browse the repository at this point in the history
…ete`

Signed-off-by: Hubert Liberacki <[email protected]>
  • Loading branch information
hliberacki authored and christophebedard committed Nov 22, 2022
1 parent b695e4e commit f145774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_tracetools/src/test_lifecycle_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ int main(int argc, char ** argv)

std::shared_future<void> 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();

Expand Down

0 comments on commit f145774

Please sign in to comment.