From 832fc29fc173bac389b6783974eeb0fc1ffeb309 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 12:07:14 +0100 Subject: [PATCH] Fixed -Wextra warnings --- examples/osgsidebyside/osgsidebyside.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/osgsidebyside/osgsidebyside.cpp b/examples/osgsidebyside/osgsidebyside.cpp index b946b1a23..c4acad979 100644 --- a/examples/osgsidebyside/osgsidebyside.cpp +++ b/examples/osgsidebyside/osgsidebyside.cpp @@ -49,7 +49,12 @@ public: { } - SwitchDOFVisitor(const SwitchDOFVisitor& sdfv, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) {} + SwitchDOFVisitor(const SwitchDOFVisitor& sdfv, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY): + osg::Object(sdfv, copyop), + osg::Callback(sdfv, copyop), + osg::NodeVisitor(sdfv, copyop), + osgGA::GUIEventHandler(sdfv, copyop) + {} META_Object(osg, SwitchDOFVisitor)