Skip to content

Commit

Permalink
Minor style tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Nate Koenig <[email protected]>
  • Loading branch information
Nate Koenig committed Feb 10, 2021
1 parent fcd212d commit e87e030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ignition::sensors::SensorPrivate
/// <update_rate> 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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e87e030

Please sign in to comment.