diff --git a/include/osgViewer/View b/include/osgViewer/View index 472b489..07ef9ce 100644 --- a/include/osgViewer/View +++ b/include/osgViewer/View @@ -127,7 +127,7 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter /** Set the View's image pager.*/ void setImagePager(osgDB::ImagePager* ip); - template void setImagePager(const osg::ref_ptr* ip) { setImagePager(ip.get()); } + template void setImagePager(const osg::ref_ptr& ip) { setImagePager(ip.get()); } /** Get the View's image pager.*/ osgDB::ImagePager* getImagePager();