Added friend usage for inner classes to try and get round compile problems
under Solaris.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user