Inline unary LoadCache.
This commit is contained in:
parent
bec3487fa9
commit
a02e53eb94
|
@ -28,12 +28,6 @@ cmCacheManager::cmCacheManager(cmake* cm)
|
|||
this->CMakeInstance = cm;
|
||||
}
|
||||
|
||||
bool cmCacheManager::LoadCache(const std::string& path)
|
||||
{
|
||||
std::set<std::string> emptySet;
|
||||
return this->LoadCache(path, true, emptySet, emptySet);
|
||||
}
|
||||
|
||||
static bool ParseEntryWithoutType(const std::string& entry,
|
||||
std::string& var,
|
||||
std::string& value)
|
||||
|
|
|
@ -99,7 +99,6 @@ public:
|
|||
}
|
||||
|
||||
///! Load a cache for given makefile. Loads from path/CMakeCache.txt.
|
||||
bool LoadCache(const std::string& path);
|
||||
bool LoadCache(const std::string& path, bool internal,
|
||||
std::set<std::string>& excludes,
|
||||
std::set<std::string>& includes);
|
||||
|
|
|
@ -1752,7 +1752,8 @@ int cmake::LoadCache()
|
|||
|
||||
bool cmake::LoadCache(const std::string& path)
|
||||
{
|
||||
return this->CacheManager->LoadCache(path);
|
||||
std::set<std::string> emptySet;
|
||||
return this->LoadCache(path, true, emptySet, emptySet);
|
||||
}
|
||||
|
||||
bool cmake::LoadCache(const std::string& path, bool internal,
|
||||
|
|
Loading…
Reference in New Issue