diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 18:48:09 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:29 (GMT) |
commit | 860adec5283c8ee7b01c0c1b2e811ae305f3602d (patch) | |
tree | 2bb8cbc354a40066d9da72d0212c49799a8a6ac6 /Source/cmGlobalVisualStudioGenerator.h | |
parent | 27e37b8a5a661c7c6ea700d6b3e535cf4a582277 (diff) | |
download | CMake-860adec5283c8ee7b01c0c1b2e811ae305f3602d.zip CMake-860adec5283c8ee7b01c0c1b2e811ae305f3602d.tar.gz CMake-860adec5283c8ee7b01c0c1b2e811ae305f3602d.tar.bz2 |
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 6fe88cd..b76db10 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, |