From e87e0300b9598b53cea109010de5c8949919f59c Mon Sep 17 00:00:00 2001 From: Nate Koenig Date: Wed, 10 Feb 2021 08:44:17 -0800 Subject: [PATCH] Minor style tweaks Signed-off-by: Nate Koenig --- src/Sensor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sensor.cc b/src/Sensor.cc index 90b8b95a..2d28e545 100644 --- a/src/Sensor.cc +++ b/src/Sensor.cc @@ -45,7 +45,7 @@ class ignition::sensors::SensorPrivate /// value from SDF, and zero is allowed only when zero is also /// in SDF. /// \return True if a valid topic was set. - public: void SetRate(const ignition::msgs::Double& _rate); + public: void SetRate(const ignition::msgs::Double &_rate); /// \brief id given to sensor when constructed public: SensorId id; @@ -234,7 +234,7 @@ bool SensorPrivate::SetTopic(const std::string &_topic) } ////////////////////////////////////////////////// -void SensorPrivate::SetRate(const ignition::msgs::Double& _rate) +void SensorPrivate::SetRate(const ignition::msgs::Double &_rate) { auto rate = _rate.data(); if (rate < 0.0)