mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 20:29:56 -06:00
cmFindBase: Use in-class member initialization
This commit is contained in:
@@ -22,10 +22,6 @@ class cmExecutionStatus;
|
|||||||
cmFindBase::cmFindBase(cmExecutionStatus& status)
|
cmFindBase::cmFindBase(cmExecutionStatus& status)
|
||||||
: cmFindCommon(status)
|
: cmFindCommon(status)
|
||||||
{
|
{
|
||||||
this->AlreadyInCache = false;
|
|
||||||
this->AlreadyInCacheWithoutMetaInfo = false;
|
|
||||||
this->NamesPerDir = false;
|
|
||||||
this->NamesPerDirAllowed = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
|
bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
|
||||||
|
|||||||
@@ -44,14 +44,14 @@ protected:
|
|||||||
std::string VariableDocumentation;
|
std::string VariableDocumentation;
|
||||||
std::string VariableName;
|
std::string VariableName;
|
||||||
std::vector<std::string> Names;
|
std::vector<std::string> Names;
|
||||||
bool NamesPerDir;
|
bool NamesPerDir = false;
|
||||||
bool NamesPerDirAllowed;
|
bool NamesPerDirAllowed = false;
|
||||||
|
|
||||||
// CMAKE_*_PATH CMAKE_SYSTEM_*_PATH FRAMEWORK|LIBRARY|INCLUDE|PROGRAM
|
// CMAKE_*_PATH CMAKE_SYSTEM_*_PATH FRAMEWORK|LIBRARY|INCLUDE|PROGRAM
|
||||||
std::string EnvironmentPath; // LIB,INCLUDE
|
std::string EnvironmentPath; // LIB,INCLUDE
|
||||||
|
|
||||||
bool AlreadyInCache;
|
bool AlreadyInCache = false;
|
||||||
bool AlreadyInCacheWithoutMetaInfo;
|
bool AlreadyInCacheWithoutMetaInfo = false;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Add pieces of the search.
|
// Add pieces of the search.
|
||||||
|
|||||||
Reference in New Issue
Block a user