[osg-users] META_object macro returning osg::Object* for cloneType and clone

Julien Valentin julienvalentin51 at gmail.com
Sat Nov 25 10:46:58 PST 2017


clone and cloneType are polymorphic so you can't change their prototype...

hartwigw wrote:
> Hi,
> 
> is there any reason why clone(const omg::CopyOp&) and cloneType() are returning osg::Object* and not name*?
> Does changing the macro break any existing code? I do not think so but may be that I am overlooking something.
> 
> Thank you!
> 
> Cheers,
> Hartwig


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72456#72456







More information about the osg-users mailing list