summaryrefslogtreecommitdiff
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 289961d9e7..3715f096f3 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -375,18 +375,6 @@ const char* cmCacheManager::GetCacheValue(const char* key) const
}
-bool cmCacheManager::IsOn(const char* key) const
-{
- if(!m_Cache.count(key))
- {
- return false;
- }
- const std::string &v = m_Cache.find(key)->second.m_Value;
- return cmSystemTools::IsOn(v.c_str());
-}
-
-
-
void cmCacheManager::PrintCache(std::ostream& out) const
{
out << "=================================================" << std::endl;