Fixed -Wextra warnings

This commit is contained in:
Robert Osfield 2016-06-08 11:30:35 +01:00
parent 772368ed1f
commit 93a8b916cc

View File

@ -42,7 +42,8 @@ class TrackSegment : public osg::Object
public: public:
TrackSegment() {} TrackSegment() {}
TrackSegment(const TrackSegment& ts, const osg::CopyOp=osg::CopyOp::SHALLOW_COPY) {} TrackSegment(const TrackSegment& ts, const osg::CopyOp copyop=osg::CopyOp::SHALLOW_COPY):
osg::Object(ts, copyop) {}
META_Object(osg, TrackSegment) META_Object(osg, TrackSegment)
@ -78,7 +79,8 @@ class Track : public osg::Object
public: public:
Track() {} Track() {}
Track(const Track& track, const osg::CopyOp=osg::CopyOp::SHALLOW_COPY) {} Track(const Track& track, const osg::CopyOp copyop=osg::CopyOp::SHALLOW_COPY):
osg::Object(track, copyop) {}
META_Object(osg, Track) META_Object(osg, Track)