Apply all the clang-tidy performance-* fixes

This commit is contained in:
louiz’
2017-04-07 19:01:49 +02:00
parent b82a14f20e
commit be9c577de8
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ XmlNode::XmlNode(const std::string& name, XmlNode* parent):
parent(parent)
{
// split the namespace and the name
auto n = name.rfind(":");
auto n = name.rfind(':');
if (n == std::string::npos)
this->name = name;
else