[osg-users] std::vector instances from osg::geode derivedclasserror

Thrall, Bryan bryan.thrall at flightsafety.com
Wed Nov 11 08:01:38 PST 2009


Thrall, Bryan wrote on Wednesday, November 11, 2009 10:00 AM:
> Group and other OSG Nodes declare operator= to be non-public so they
> cannot be instantiated on the stack (which would easily lead to
problems
> with OSG's smart pointers); you have to dynamically allocate them.

I should've checked first; this is actually because they declare their
destructor non-public (protected, actually).

-- 
Bryan Thrall
FlightSafety International
bryan.thrall at flightsafety.com


More information about the osg-users mailing list