Skip to content

Commit

Permalink
linters
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina committed Aug 10, 2021
1 parent fdde936 commit 949f519
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions include/ignition/sensors/Manager.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <memory>
#include <string>
#include <utility>
#include <type_traits>
#include <vector>
#include <sdf/sdf.hh>
Expand Down
4 changes: 2 additions & 2 deletions include/ignition/sensors/SensorFactory.hh
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ namespace ignition
{
if (nullptr == _sdf)
{
ignerr << "Failed to create sensor, received null SDF pointer."
<< std::endl;
ignerr << "Failed to create sensor, received null SDF "
<< "pointer." << std::endl;
return nullptr;
}

Expand Down
6 changes: 4 additions & 2 deletions include/ignition/sensors/Util.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef IGNITION_SENSORS_UTIL_HH_
#define IGNITION_SENSORS_UTIL_HH_

#include <string>

#include <sdf/Element.hh>
#include <sdf/Sensor.hh>

Expand All @@ -43,7 +45,7 @@ inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
///
/// \param[in] _sdf Sensor SDF object.
/// \return _sensorType Name of sensor type.
std::string IGNITION_SENSORS_VISIBLE customType(const sdf::Sensor &_sdf);
std::string IGNITION_SENSORS_VISIBLE customType(const sdf::Sensor &_sdf); // NOLINT

/// \brief Get the name of a sensor's custom type from SDF.
///
Expand All @@ -58,7 +60,7 @@ std::string IGNITION_SENSORS_VISIBLE customType(const sdf::Sensor &_sdf);
///
/// \param[in] _sdf Sensor SDF object.
/// \return _sensorType Name of sensor type.
std::string IGNITION_SENSORS_VISIBLE customType(sdf::ElementPtr _sdf);
std::string IGNITION_SENSORS_VISIBLE customType(sdf::ElementPtr _sdf); // NOLINT
}
}
}
Expand Down

0 comments on commit 949f519

Please sign in to comment.