Hi Aitor. On 20 March 2013 12:10, Aitor Ardanza <[email protected]> wrote: > I think like you. But if I coment the unref functions the application give me > ref_ptr access violation error...
Once you start using ref_ptr<> for holding pointers to objects you'll no longer need to call ref/unref or delete as all the memory management will be done for you. Once you embrace ref_ptr<> and other smart pointers you'll find you code simpler and robust. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

