Skip to content

Commit

Permalink
avoid deprecation warnings from deprecated functions
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodall <william@osrfoundation.org>
  • Loading branch information
wjwwood committed Apr 23, 2020
1 parent d1083fe commit 5f69163
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rclcpp/include/rclcpp/executor_options.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ using ExecutorArgs [[deprecated("use rclcpp::ExecutorOptions instead")]] = Execu

[[deprecated("use rclcpp::ExecutorOptions() instead")]]
inline
ExecutorArgs
rclcpp::ExecutorOptions
create_default_executor_arguments()
{
return ExecutorArgs();
return rclcpp::ExecutorOptions();
}

} // namespace executor
Expand Down
2 changes: 1 addition & 1 deletion rclcpp/include/rclcpp/future_return_code.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ using FutureReturnCode [[deprecated("use rclcpp::FutureReturnCode instead")]] =
[[deprecated("use rclcpp::to_string(const rclcpp::FutureReturnCode &) instead")]]
inline
std::string
to_string(const FutureReturnCode & future_return_code)
to_string(const rclcpp::FutureReturnCode & future_return_code)
{
return rclcpp::to_string(future_return_code);
}
Expand Down

0 comments on commit 5f69163

Please sign in to comment.