Skip to content

Commit

Permalink
Fix line length and other linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Mar 15, 2022
1 parent c17a7ec commit 038107a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions usd/include/sdf/usd/usd_parser/USDData.hh
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ namespace sdf

/// \brief Initialize the data inside the class with the stage
/// defined in the constructor
/// \return Errors, which is a vector of Error objects. Each Error includes
/// \return A vector of Error objects. Each Error includes
/// an error code and message. An empty vector indicates no error.
public: UsdErrors Init();

/// \brief If a stage contains substages, this will allow to include
/// them.
/// \return Errors, which is a vector of Error objects. Each Error includes
/// \return A vector of Error objects. Each Error includes
/// an error code and message. An empty vector indicates no error.
public: UsdErrors AddStage(const std::string &_ref);

/// \brief Read materials
/// \return Errors, which is a vector of Error objects. Each Error includes
/// \return A vector of Error objects. Each Error includes
/// an error code and message. An empty vector indicates no error.
public: UsdErrors ParseMaterials();

Expand Down
2 changes: 1 addition & 1 deletion usd/include/sdf/usd/usd_parser/USDStage.hh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace sdf
public: explicit USDStage(const std::string &_refFileName);

/// \brief Initialize the data structure
/// \return Errors, which is a vector of Error objects. Each Error includes
/// \return A vector of Error objects. Each Error includes
/// an error code and message. An empty vector indicates no error.
public: UsdErrors Init();

Expand Down
2 changes: 1 addition & 1 deletion usd/src/usd_parser/USDData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ namespace usd {
}
}
}
return std::make_pair<std::string, std::shared_ptr<USDStage>>("", nullptr);
return std::make_pair("", nullptr);
}

/////////////////////////////////////////////////
Expand Down
1 change: 1 addition & 0 deletions usd/src/usd_parser/USDMaterial.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*
*/

#include <string>
#include "USDMaterial.hh"

#include <ignition/common/Filesystem.hh>
Expand Down
2 changes: 1 addition & 1 deletion usd/src/usd_parser/USDStage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <set>
#include <string>

// TODO(ahcorde):this is to remove deprecated "warnings" in usd, these warnings
// TODO(ahcorde) this is to remove deprecated "warnings" in usd, these warnings
// are reported using #pragma message so normal diagnostic flags cannot remove
// them. This workaround requires this block to be used whenever usd is
// included.
Expand Down

0 comments on commit 038107a

Please sign in to comment.