Cherrypicked pull request #1743 (cppcheck performance fixes).

This commit is contained in:
hiker
2014-12-01 15:14:27 +11:00
parent 354dad7392
commit 006a7f95c9
34 changed files with 280 additions and 82 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
namespace StringUtils
{
bool hasSuffix(const std::string& lhs, const std::string rhs)
bool hasSuffix(const std::string& lhs, const std::string &rhs)
{
if (lhs.length() < rhs.length())
return false;