--- include/osgViewer/View.orig 2016-04-21 09:54:28.095530000 +0200 +++ include/osgViewer/View 2016-04-21 09:55:04.918232000 +0200 @@ -127,7 +127,7 @@ /** 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();