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 Jan 23, 2023
1 parent 0d79e02 commit 13dcc56
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 13dcc56

Please sign in to comment.