diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-04 18:42:28 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-05 08:26:10 (GMT) |
commit | c37cf7fa9e0aa7f7c3a2b32457385a1caf37bc3c (patch) | |
tree | a8b906ec9a369728ad5dee728814db8a8ac59ee2 /Source/cmCacheManager.cxx | |
parent | 64556e3dfa4161b33110daba606439f2c7971b15 (diff) | |
download | CMake-c37cf7fa9e0aa7f7c3a2b32457385a1caf37bc3c.zip CMake-c37cf7fa9e0aa7f7c3a2b32457385a1caf37bc3c.tar.gz CMake-c37cf7fa9e0aa7f7c3a2b32457385a1caf37bc3c.tar.bz2 |
cmCacheManager: Remove unused method
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 002ccd1..fa7eff3 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -896,21 +896,3 @@ bool cmCacheManager::CacheIterator::PropertyExists( { return this->GetProperty(prop)? true:false; } - -//---------------------------------------------------------------------------- -bool cmCacheManager::NeedCacheCompatibility(int major, int minor) -{ - // Compatibility is not needed if the cache version is zero because - // the cache was created or modified by the user. - if(this->CacheMajorVersion == 0) - { - return false; - } - - // Compatibility is needed if the cache version is equal to or lower - // than the given version. - cmIML_INT_uint64_t actual_compat = - CMake_VERSION_ENCODE(this->CacheMajorVersion, this->CacheMinorVersion, 0); - return (actual_compat && - actual_compat <= CMake_VERSION_ENCODE(major, minor, 0)); -} |