From 8f0705b08b5b8950cb0aa7cda397af4c48778831 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Mon, 4 Feb 2019 10:21:37 -0800 Subject: [PATCH] style Signed-off-by: William Woodall --- .../include/rclcpp/node_interfaces/node_parameters.hpp | 1 - rclcpp/include/rclcpp/parameter.hpp | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/rclcpp/include/rclcpp/node_interfaces/node_parameters.hpp b/rclcpp/include/rclcpp/node_interfaces/node_parameters.hpp index 57390afe13..c880b550d4 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_parameters.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_parameters.hpp @@ -112,7 +112,6 @@ class NodeParameters : public NodeParametersInterface std::map & parameters) const override; RCLCPP_PUBLIC - virtual std::vector describe_parameters(const std::vector & names) const override; diff --git a/rclcpp/include/rclcpp/parameter.hpp b/rclcpp/include/rclcpp/parameter.hpp index 4cd8f9a350..1b1985f578 100644 --- a/rclcpp/include/rclcpp/parameter.hpp +++ b/rclcpp/include/rclcpp/parameter.hpp @@ -30,7 +30,8 @@ namespace rclcpp class Parameter; -namespace node_interfaces{ +namespace node_interfaces +{ struct ParameterInfo; } // namespace node_interfaces @@ -191,9 +192,10 @@ auto get_value_helper(const rclcpp::Parameter * parameter) { // Use this labmda to ensure it's a const reference being returned (and not a copy). - auto type_enforcing_lambda = [¶meter]() -> const rclcpp::Parameter & { - return *parameter; - }; + auto type_enforcing_lambda = + [¶meter]() -> const rclcpp::Parameter & { + return *parameter; + }; return type_enforcing_lambda(); }