Fix build problem on Sun
This commit is contained in:
parent
3507ef55c6
commit
c478520cab
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue