mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 01:49:23 -05:00
clang-tidy: fix performance-unnecessary-copy-initialization lints
This commit is contained in:
@@ -285,7 +285,7 @@ bool HandleStringsCommand(std::vector<std::string> const& args,
|
||||
}
|
||||
|
||||
// Get the variable in which to store the results.
|
||||
std::string outVar = args[2];
|
||||
std::string const& outVar = args[2];
|
||||
|
||||
// Parse the options.
|
||||
enum
|
||||
|
||||
Reference in New Issue
Block a user