From 6f02034e668a307587c2eb1aa0e342fd17ca103e Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 10 Oct 2015 15:05:50 +0200 Subject: [PATCH] cmState: Make AddCacheEntry method private. --- Source/cmState.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/cmState.h b/Source/cmState.h index 3f0ac7756..e71668f82 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -223,8 +223,6 @@ public: void SetCacheEntryValue(std::string const& key, std::string const& value); void SetCacheValue(std::string const& key, std::string const& value); - void AddCacheEntry(const std::string& key, const char* value, - const char* helpString, CacheEntryType type); void RemoveCacheEntry(std::string const& key); void SetCacheEntryProperty(std::string const& key, @@ -305,6 +303,10 @@ public: bool UseMSYSShell() const; private: + friend class cmake; + void AddCacheEntry(const std::string& key, const char* value, + const char* helpString, CacheEntryType type); + std::map PropertyDefinitions; std::vector EnabledLanguages; std::map Commands;