Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 27, 2022
1 parent feb958a commit 71c9628
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ class Service
auto wrapped = [logger, callback](
typename SpecT::Service::Request::SharedPtr request,
typename SpecT::Service::Response::SharedPtr response) {
#ifdef USE_DEPRECATED_TO_YAML
#ifdef USE_DEPRECATED_TO_YAML
using rosidl_generator_traits::to_yaml;
#endif
#endif
RCLCPP_INFO_STREAM(logger, "service call: " << SpecT::name << "\n" << to_yaml(*request));
callback(request, response);
RCLCPP_INFO_STREAM(logger, "service exit: " << SpecT::name << "\n" << to_yaml(*response));
Expand Down

0 comments on commit 71c9628

Please sign in to comment.