Yes, everything derived from osg::Referenced should have its
destructor protected, which ensures such an object cannot be created
on the stack.  See the ref_ptr tutorial.

-- mew


On Tue, Jun 24, 2008 at 3:34 PM, O'Malley, James
<james.o'[EMAIL PROTECTED]> wrote:
> Is there a reason the destructor for the Shader object is protected?
>
> Kevin O'Malley


-- 
Mike Weiblen -- Austin Texas USA -- http://mew.cx/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to