Robert Osfield <[email protected]> writes: > Hi Pjotr, > > I am currently reviewing these changes and have come across the > following warning when merging: > > /home/robert/OpenSceneGraph/include/osgAnimation/RigGeometry:32:124: > warning: delegating constructors only available with -std=c++11 or > -std=gnu++11 [enabled by default] > RigComputeBoundingBoxCallback(const > ComputeBoundingBoxCallback&, const > osg::CopyOp&):RigComputeBoundingBoxCallback(){} > > Which hints that the code won't build on older versions of C++ > compilers that we need to retain compatibility with. Thoughts?
Just use the old fashioned way: create a method holding RigComputeBoundingBoxCallback() construtor code, and then calling it from both constructors. -- Alberto _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
