Jean-Sébastien Guay wrote:
Perhaps I'm not the best placed to fix this warning - I need to read up on virtual inheritance first. Anyone else have any ideas?

It tends to be one of those dark corners of C++ where few developers tread. I once used this style of coding quite often, but found it confused developers too much, so I dropped its use. Consequently, I've forgotten most of what I once knew about it.

I'd recommend we not use this code style in OSG, if we can avoid it. It makes the code harder to understand. Can the class that derives from NodeCallback use the "has a" pattern instead?
   -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to