diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 13:48:09 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 12:39:29 -0500 |
commit | 860adec5283c8ee7b01c0c1b2e811ae305f3602d (patch) | |
tree | 2bb8cbc354a40066d9da72d0212c49799a8a6ac6 /Source/cmGlobalVisualStudioGenerator.h | |
parent | 27e37b8a5a661c7c6ea700d6b3e535cf4a582277 (diff) | |
download | cmake-860adec5283c8ee7b01c0c1b2e811ae305f3602d.tar.gz |
clang-tidy: fix `modernize-pass-by-value` lints
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h index 6fe88cd35b..b76db10e3a 100644 --- a/Source/cmGlobalVisualStudioGenerator.h +++ b/Source/cmGlobalVisualStudioGenerator.h @@ -133,8 +133,8 @@ public: std::string First; public: - TargetCompare(std::string const& first) - : First(first) + TargetCompare(std::string first) + : First(std::move(first)) { } bool operator()(cmGeneratorTarget const* l, |