diff options
author | Brad King <brad.king@kitware.com> | 2019-07-31 15:47:44 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-31 15:54:28 (GMT) |
commit | 1672d3d5a5a0c5c73a857f5e4592fe998da3ae78 (patch) | |
tree | 74f82383ec21d00704e149e7e9cca418d051f484 /Source/cmake.cxx | |
parent | 403b6b3bc387fbe5c9c058d591f478f94b40a9fd (diff) | |
parent | 4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (diff) | |
download | CMake-1672d3d5a5a0c5c73a857f5e4592fe998da3ae78.zip CMake-1672d3d5a5a0c5c73a857f5e4592fe998da3ae78.tar.gz CMake-1672d3d5a5a0c5c73a857f5e4592fe998da3ae78.tar.bz2 |
Merge topic 'clang-tidy-8'
4af094c8df clang-tidy: Blacklist violations for version 8
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3627
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 3b4a6c0..b97152f 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -620,7 +620,7 @@ void cmake::LoadEnvironmentPresets() this->EnvironmentGenerator = envGenVar; } - auto readGeneratorVar = [&](std::string name, std::string& key) { + auto readGeneratorVar = [&](std::string const& name, std::string& key) { std::string varValue; if (cmSystemTools::GetEnv(name, varValue)) { if (hasEnvironmentGenerator) { |