1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/components/nifosg
scrawl bd8332d2b0 Remove default copyop argument for nodecallback copy constructors
Works around a compiler warning with OSG 3.4:

warning: base class 'class osg::Callback' should be explicitly initialized in the copy constructor [-Wextra]

With no default argument for osg::CopyOp&, the compiler no longer sees the function as a real copy constructor and stops warning about the missing virtual initializations.

We don't care about this warning because there is nothing interesting to initialize in the osg::NodeCallback base anyway.

A proper fix for the warning would require to inserting OSG_VERSION conditional compiling all over the place, that is as long as we are still supporting OSG 3.2.
2015-11-09 18:57:17 +01:00
..
controller.cpp Don't use a shared Material in MaterialColorController 2015-07-31 00:01:55 +02:00
controller.hpp Remove default copyop argument for nodecallback copy constructors 2015-11-09 18:57:17 +01:00
nifloader.cpp Small refactor of controllers handling, print warning messages for unhandled controllers 2015-11-09 17:42:35 +01:00
nifloader.hpp Fix a typo 2015-06-05 02:06:13 +02:00
particle.cpp Fix for some coverity scan defects 2015-07-02 20:46:34 +02:00
particle.hpp Remove default copyop argument for nodecallback copy constructors 2015-11-09 18:57:17 +01:00
userdata.hpp