From 24840c1494fc6dfeb9cb78219cca9cbe896de882 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 138bd1e348..59ffb99d25 100644 --- a/rclcpp/include/rclcpp/node_interfaces/node_parameters.hpp +++ b/rclcpp/include/rclcpp/node_interfaces/node_parameters.hpp @@ -114,7 +114,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(); }