1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-09 18:40:14 +00:00
OpenMW/components
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
..
2015-05-10 00:36:04 +02:00
2015-11-06 20:21:39 +01:00
2015-09-24 15:21:42 +02:00
2015-06-04 17:13:42 +02:00
2015-11-08 18:30:22 +01:00
2015-07-25 02:11:49 +02:00
2014-11-20 18:14:49 +01:00
2015-08-21 00:31:43 +02:00
2014-09-26 17:48:14 +02:00
2015-09-24 15:21:42 +02:00