Skip to content

Commit

Permalink
fixes to line length
Browse files Browse the repository at this point in the history
Signed-off-by: Marco A. Gutierrez <marco@openrobotics.org>
  • Loading branch information
Marco A. Gutierrez committed Jun 27, 2023
1 parent a01e8c4 commit 63b96dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Converter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,8 @@ void Converter::Move(tinyxml2::XMLElement *_elem,

if (toElemStr && !toAttrStr)
{
tinyxml2::XMLNode *cloned = DeepClone(moveFrom->GetDocument(), moveFrom, _errors);
tinyxml2::XMLNode *cloned = DeepClone(moveFrom->GetDocument(), moveFrom,
_errors);
tinyxml2::XMLElement *moveTo = static_cast<tinyxml2::XMLElement*>(cloned);

moveTo->SetValue(toName);
Expand Down
6 changes: 4 additions & 2 deletions src/ParamPassing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ void updateParams(const ParserConfig &_config,
_errors.push_back({ErrorCode::ELEMENT_MISSING,
"Could not find element <" + std::string(childElemXml->Name())
+ " element_id='" + childElemXml->Attribute("element_id") + "'>. " +
"Skipping element modification:\n" + ElementToString(childElemXml, _errors)
"Skipping element modification:\n" +
ElementToString(childElemXml, _errors)
});
continue;
}
Expand Down Expand Up @@ -557,7 +558,8 @@ void modifyAttributes(tinyxml2::XMLElement *_xml,
{
_errors.push_back({ErrorCode::ATTRIBUTE_INVALID,
"Attribute [" + attrName + "] is invalid. "
"Skipping attribute modification in:\n" + ElementToString(_xml, _errors)
"Skipping attribute modification in:\n" +
ElementToString(_xml, _errors)
});
continue;
}
Expand Down

0 comments on commit 63b96dd

Please sign in to comment.