summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-31 15:47:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-31 15:54:28 (GMT)
commit1672d3d5a5a0c5c73a857f5e4592fe998da3ae78 (patch)
tree74f82383ec21d00704e149e7e9cca418d051f484 /Source/cmake.cxx
parent403b6b3bc387fbe5c9c058d591f478f94b40a9fd (diff)
parent4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (diff)
downloadCMake-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.cxx2
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) {