diff options
-rw-r--r-- | Source/cmCacheManager.cxx | 6 | ||||
-rw-r--r-- | Source/cmCacheManager.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 3eea333..bd95354 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -42,6 +42,12 @@ const char* cmCacheManagerTypes[] = 0 }; +cmCacheManager::cmCacheManager() +{ + this->CacheMajorVersion = 0; + this->CacheMinorVersion = 0; +} + const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type) { if ( type > 6 ) diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 4fa6ed0..50cc873 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -30,6 +30,7 @@ class cmMarkAsAdvancedCommand; class cmCacheManager { public: + cmCacheManager(); class CacheIterator; friend class cmCacheManager::CacheIterator; enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC, |