Hi Philippe, This is a bug, it should be a reference - I must have made a copy and paste error when adapting the line to use the template ref_ptr interface.
Robert. On 22 November 2015 at 10:02, philippe renon <[email protected]> wrote: > Hi, > > The include/osgViewer/View include has that suspicious line: > > template<class T> void setImagePager(const osg::ref_ptr<T>* ip) { > setImagePager(ip.get()); } > > which fails to compile on mac with : > > member reference base type 'const osg::ref_ptr<T> *' is not a structure > or union > > > This pattern using osg::ref_ptr is used in many places but that suspicious > line is only one with pointer instead of reference. > > Philippe. > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

