mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
Fix some occurrences using string by value rather than by const&
Fix issues diagnosed by clang-tidy - performance-unnecessary-value-param - performance-unnecessary-copy-initialization Signed-off-by: Matthias Maennich <matthias@maennich.net>
This commit is contained in:
committed by
Brad King
parent
8cc33aeaec
commit
bb0ad1bea8
@@ -130,7 +130,7 @@ void cmXCodeObject::Print(std::ostream& out)
|
||||
}
|
||||
|
||||
void cmXCodeObject::PrintAttribute(std::ostream& out, const int level,
|
||||
const std::string separator,
|
||||
const std::string& separator,
|
||||
const int factor, const std::string& name,
|
||||
const cmXCodeObject* object,
|
||||
const cmXCodeObject* parent)
|
||||
|
||||
Reference in New Issue
Block a user