Skip to content

Commit

Permalink
avoid new deprecations (#255)
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodall <william@osrfoundation.org>
  • Loading branch information
wjwwood authored Apr 23, 2020
1 parent 373453f commit 5f70a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_ros2_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main(int argc, char ** argv)
auto future = client->async_send_request(request);
if (
rclcpp::spin_until_future_complete(node, future, 2s) ==
rclcpp::executor::FutureReturnCode::SUCCESS)
rclcpp::FutureReturnCode::SUCCESS)
{
auto response = future.get();
if (response->id != "ros1") {
Expand Down

0 comments on commit 5f70a38

Please sign in to comment.