summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-12 12:56:32 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-12 12:56:32 (GMT)
commitc478520cabd9e0e930c37337a786d74834ba1130 (patch)
treebb5574d47317c70ed37644a9e05f65edcf91e873 /Source/cmCacheManager.h
parent3507ef55c678be680083e6fc67c25e13c7b70fc4 (diff)
downloadCMake-c478520cabd9e0e930c37337a786d74834ba1130.zip
CMake-c478520cabd9e0e930c37337a786d74834ba1130.tar.gz
CMake-c478520cabd9e0e930c37337a786d74834ba1130.tar.bz2
Fix build problem on Sun
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index bdf7760..648f735 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -29,6 +29,8 @@ class cmMakefile;
class cmCacheManager
{
public:
+ class CacheIterator;
+ friend class cmCacheManager::CacheIterator;
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,UNINITIALIZED };
private:
@@ -68,7 +70,6 @@ public:
CacheEntry const& GetEntry() const { return m_Position->second; }
CacheEntry& GetEntry() { return m_Position->second; }
};
- friend class cmCacheManager::CacheIterator;
///! return an iterator to iterate through the cache map
cmCacheManager::CacheIterator NewIterator()