clang-tidy: Pass by value

This commit is contained in:
Regina Pfeifer
2019-01-21 17:15:21 +01:00
committed by Brad King
parent bcc9ea2b3d
commit 5a0784ddea
74 changed files with 265 additions and 257 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ struct cmStrCmp
: m_test(test)
{
}
cmStrCmp(const std::string& test)
: m_test(test)
cmStrCmp(std::string test)
: m_test(std::move(test))
{
}