diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-05-17 18:21:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-24 13:09:44 (GMT) |
commit | aa3649eb0488fe9ea82c330f2c0c606bbb9d32f4 (patch) | |
tree | 0709bde281596e328aa27adb41380bbd1cd046a9 /Source/cmFileCommand.cxx | |
parent | 6ff03d463f40176389943100690cf1ca8593d739 (diff) | |
download | CMake-aa3649eb0488fe9ea82c330f2c0c606bbb9d32f4.zip CMake-aa3649eb0488fe9ea82c330f2c0c606bbb9d32f4.tar.gz CMake-aa3649eb0488fe9ea82c330f2c0c606bbb9d32f4.tar.bz2 |
clang-tidy: fix `performance-unnecessary-copy-initialization` lints
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index e4728ac..71aa134 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -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 |