Browse Source

cmCacheManager: Remove unused overloads.

Stephen Kelly 10 years ago
parent
commit
64556e3dfa
2 changed files with 0 additions and 24 deletions
  1. 0 19
      Source/cmCacheManager.cxx
  2. 0 5
      Source/cmCacheManager.h

+ 0 - 19
Source/cmCacheManager.cxx

@@ -76,25 +76,12 @@ bool cmCacheManager::IsType(const char* s)
   return false;
 }
 
-bool cmCacheManager::LoadCache(cmMakefile* mf)
-{
-  return this->LoadCache(mf->GetHomeOutputDirectory());
-}
-
-
 bool cmCacheManager::LoadCache(const std::string& path)
 {
   std::set<std::string> emptySet;
   return this->LoadCache(path, true, emptySet, emptySet);
 }
 
-bool cmCacheManager::LoadCache(const std::string& path,
-                               bool internal)
-{
-  std::set<std::string> emptySet;
-  return this->LoadCache(path, internal, emptySet, emptySet);
-}
-
 static bool ParseEntryWithoutType(const std::string& entry,
                                   std::string& var,
                                   std::string& value)
@@ -419,12 +406,6 @@ void cmCacheManager::WritePropertyEntries(std::ostream& os,
     }
 }
 
-bool cmCacheManager::SaveCache(cmMakefile* mf)
-{
-  return this->SaveCache(mf->GetHomeOutputDirectory());
-}
-
-
 bool cmCacheManager::SaveCache(const std::string& path)
 {
   std::string cacheFile = path;

+ 0 - 5
Source/cmCacheManager.h

@@ -105,17 +105,12 @@ public:
   static const char* TypeToString(CacheEntryType);
   static bool IsType(const char*);
 
-  ///! Load a cache for given makefile.  Loads from ouput home.
-  bool LoadCache(cmMakefile*);
   ///! 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);
   bool LoadCache(const std::string& path, bool internal,
                  std::set<std::string>& excludes,
                  std::set<std::string>& includes);
 
-  ///! Save cache for given makefile.  Saves to ouput home CMakeCache.txt.
-  bool SaveCache(cmMakefile*) ;
   ///! Save cache for given makefile.  Saves to ouput path/CMakeCache.txt
   bool SaveCache(const std::string& path) ;