clang-tidy: fix performance-unnecessary-value-param lints

This commit is contained in:
Ben Boeckel
2022-11-22 14:16:11 -05:00
parent 9e81a9b45c
commit 27f5ce07cc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ struct cmVisualStudio10TargetGenerator::OptionsHelper
}
};
static std::string cmVS10EscapeComment(std::string comment)
static std::string cmVS10EscapeComment(std::string const& comment)
{
// MSBuild takes the CDATA of a <Message></Message> element and just
// does "echo $CDATA" with no escapes. We must encode the string.