From d49b827a50a4093c96a2dcb283ecbc9a2c52cc37 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Tue, 7 Apr 2020 21:51:06 -0700 Subject: [PATCH] style --- subt_ign/src/ConnectionHelper.cc | 3 ++- subt_ign/src/dot_generator.cc | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/subt_ign/src/ConnectionHelper.cc b/subt_ign/src/ConnectionHelper.cc index 89efa2e1..d3d28626 100644 --- a/subt_ign/src/ConnectionHelper.cc +++ b/subt_ign/src/ConnectionHelper.cc @@ -197,7 +197,8 @@ bool ConnectionHelper::ComputePoint(VertexData *_tile1, VertexData *_tile2, igndbg << _tile1->tileType << " [" << _tile1->model.Pose() << "] -- " << _tile2->tileType << " [" << _tile2->model.Pose() << "]" - << " [" << pt1tf << "] [" << pt2tf << "]" << std::endl; + << " [" << pt1tf << "] [" << pt2tf << "]" + << std::endl; } } diff --git a/subt_ign/src/dot_generator.cc b/subt_ign/src/dot_generator.cc index f56d7f5c..16ac6f08 100644 --- a/subt_ign/src/dot_generator.cc +++ b/subt_ign/src/dot_generator.cc @@ -26,7 +26,7 @@ using namespace subt; /// \param[in] _str String content of the sdf element /// \param[out] _endPos end position of the sdf element string /// \return Value for the input key -std::string parse(const std::string _key, const std::string &_str, +std::string parse(const std::string &_key, const std::string &_str, size_t &_endPos) { std::string elemStartStr = "<" + _key + ">"; @@ -49,7 +49,7 @@ std::string parse(const std::string _key, const std::string &_str, /// \param[in] _key SDF element key /// \param[in] _str String content of the sdf element /// \return Value for the input key -std::string parse(const std::string _key, const std::string &_str) +std::string parse(const std::string &_key, const std::string &_str) { size_t endPos; return parse(_key, _str, endPos); @@ -109,7 +109,7 @@ void printGraph(std::vector &_vertexData) cost = 6; out << _vertexData[i].id << " -- " << _vertexData[j].id - << " " << "[label=" << cost << "];\n" ; + << " " << "[label=" << cost << "];\n"; } } }