mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
clang-tidy: Pass by value
This commit is contained in:
committed by
Brad King
parent
bcc9ea2b3d
commit
5a0784ddea
@@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user