diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-01-21 14:23:27 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-22 14:16:40 (GMT) |
commit | 2a6e56e078666a48d3e34b36c1500d44c429ecf0 (patch) | |
tree | 33ee7ee1fc0d88380b0fac42b444afeea6198a9e /Source/cmCacheManager.h | |
parent | 5cc9fb02349e4b7e63f3cb087dc37b3c9b096e1d (diff) | |
download | CMake-2a6e56e078666a48d3e34b36c1500d44c429ecf0.zip CMake-2a6e56e078666a48d3e34b36c1500d44c429ecf0.tar.gz CMake-2a6e56e078666a48d3e34b36c1500d44c429ecf0.tar.bz2 |
cmCacheManager: Consify version accessors.
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 4b8c07d..f487e8e 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -145,8 +145,10 @@ public: const char* GetCacheValue(const char* key) const; /** Get the version of CMake that wrote the cache. */ - unsigned int GetCacheMajorVersion() { return this->CacheMajorVersion; } - unsigned int GetCacheMinorVersion() { return this->CacheMinorVersion; } + unsigned int GetCacheMajorVersion() const + { return this->CacheMajorVersion; } + unsigned int GetCacheMinorVersion() const + { return this->CacheMinorVersion; } bool NeedCacheCompatibility(int major, int minor); protected: |