Added friend usage for inner classes to try and get round compile problems

under Solaris.
This commit is contained in:
Robert Osfield
2004-11-18 12:07:28 +00:00
parent 7b543a5009
commit 8cc9d650a1
2 changed files with 3 additions and 1 deletions

View File

@@ -226,7 +226,7 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
typedef std::set<unsigned int> ActiveGraphicsContexts;
friend struct DatabaseRequest;
struct DatabaseRequest : public osg::Referenced
{

View File

@@ -89,6 +89,8 @@ class OSGA_Archive : public osgDB::Archive
typedef std::pair<pos_type, size_type> PositionSizePair;
typedef std::map<std::string, PositionSizePair> FileNamePositionMap;
friend class IndexBlock;
class IndexBlock : public osg::Referenced
{
public: