1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00
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-07-25 02:11:49 +02:00
2015-08-30 20:43:39 +02:00
2015-03-26 18:02:51 +01:00
2015-07-05 21:56:04 +02:00
2015-05-23 22:44:00 +02:00
2015-04-22 17:37:39 +02:00
2015-05-01 01:44:21 +02:00
2015-04-11 20:09:40 +02:00
2015-06-14 21:04:59 +02:00
2015-06-10 19:02:33 +02:00