summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.h
diff options
context:
space:
mode:
authorSylvain Joubert <joubert.sy@gmail.com>2020-03-06 14:50:28 (GMT)
committerSylvain Joubert <joubert.sy@gmail.com>2020-03-06 15:07:18 (GMT)
commitcc070e66cd9bd0d4e0ce56ad9dd307dbb854e61f (patch)
treeeeaba0b2b7eb2f0801981ae5c31e534c59581903 /Source/cmFindBase.h
parent41162cbb81401c42578ca794ad6fd01aebc109c5 (diff)
downloadCMake-cc070e66cd9bd0d4e0ce56ad9dd307dbb854e61f.zip
CMake-cc070e66cd9bd0d4e0ce56ad9dd307dbb854e61f.tar.gz
CMake-cc070e66cd9bd0d4e0ce56ad9dd307dbb854e61f.tar.bz2
cmFindBase: Use in-class member initialization
Diffstat (limited to 'Source/cmFindBase.h')
-rw-r--r--Source/cmFindBase.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmFindBase.h b/Source/cmFindBase.h
index fce0b11..c553dbd 100644
--- a/Source/cmFindBase.h
+++ b/Source/cmFindBase.h
@@ -44,14 +44,14 @@ protected:
std::string VariableDocumentation;
std::string VariableName;
std::vector<std::string> Names;
- bool NamesPerDir;
- bool NamesPerDirAllowed;
+ bool NamesPerDir = false;
+ bool NamesPerDirAllowed = false;
// CMAKE_*_PATH CMAKE_SYSTEM_*_PATH FRAMEWORK|LIBRARY|INCLUDE|PROGRAM
std::string EnvironmentPath; // LIB,INCLUDE
- bool AlreadyInCache;
- bool AlreadyInCacheWithoutMetaInfo;
+ bool AlreadyInCache = false;
+ bool AlreadyInCacheWithoutMetaInfo = false;
private:
// Add pieces of the search.