diff --git a/controller_interface/include/semantic_components/range_sensor.hpp b/controller_interface/include/semantic_components/range_sensor.hpp index d16b9c2dc9..a51f220902 100644 --- a/controller_interface/include/semantic_components/range_sensor.hpp +++ b/controller_interface/include/semantic_components/range_sensor.hpp @@ -39,10 +39,7 @@ class RangeSensor : public SemanticComponentInterface * * \return value of the range in meters */ - float get_range() - { - return state_interfaces_[0].get().get_value(); - } + float get_range() { return state_interfaces_[0].get().get_value(); } /// Return Range message with range in meters /**