mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05: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
@@ -95,7 +95,7 @@ public:
|
||||
static void Indent(int level, std::ostream& out);
|
||||
void Print(std::ostream& out);
|
||||
void PrintAttribute(std::ostream& out, const int level,
|
||||
const std::string separator, const int factor,
|
||||
const std::string& separator, const int factor,
|
||||
const std::string& name, const cmXCodeObject* object,
|
||||
const cmXCodeObject* parent);
|
||||
virtual void PrintComment(std::ostream&) {}
|
||||
|
||||
Reference in New Issue
Block a user