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/cmDependsFortran.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/cmDependsFortran.cxx')
-rw-r--r-- | Source/cmDependsFortran.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index d5e54ae..ac93c90 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -478,7 +478,7 @@ bool cmDependsFortran::CopyModule(const std::vector<std::string>& args) // when the interface described in the module does not. std::string mod = args[2]; - std::string stamp = args[3]; + std::string const& stamp = args[3]; std::string compilerId; if (args.size() >= 5) { compilerId = args[4]; |