Fix build problem on Sun

This commit is contained in:
Andy Cedilnik 2002-09-12 08:56:32 -04:00
parent 3507ef55c6
commit c478520cab
1 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,8 @@ class cmMakefile;
class cmCacheManager class cmCacheManager
{ {
public: public:
class CacheIterator;
friend class cmCacheManager::CacheIterator;
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,UNINITIALIZED }; enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,UNINITIALIZED };
private: private:
@ -68,7 +70,6 @@ public:
CacheEntry const& GetEntry() const { return m_Position->second; } CacheEntry const& GetEntry() const { return m_Position->second; }
CacheEntry& GetEntry() { return m_Position->second; } CacheEntry& GetEntry() { return m_Position->second; }
}; };
friend class cmCacheManager::CacheIterator;
///! return an iterator to iterate through the cache map ///! return an iterator to iterate through the cache map
cmCacheManager::CacheIterator NewIterator() cmCacheManager::CacheIterator NewIterator()