Added virtual destructors

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14351 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2014-07-03 13:06:23 +00:00
parent 3f637584f5
commit d981ca416e
2 changed files with 4 additions and 0 deletions

View File

@@ -373,6 +373,8 @@ public:
virtual void apply(const osg::Matrixf& value) { for(unsigned int i=0; i<16; ++i) _stream << (value.ptr())[i]; }
virtual void apply(const osg::Matrixd& value) { for(unsigned int i=0; i<16; ++i) _stream << (value.ptr())[i]; }
virtual ~OscSendingDeviceGetValueVisitor() {}
private:
osc::OutboundPacketStream& _stream;

View File

@@ -179,6 +179,8 @@ public:
virtual void apply(osg::Matrixf& value) { combineMatrixUserValue(value); }
virtual void apply(osg::Matrixd& value) { combineMatrixUserValue(value); }
virtual ~MySetValueVisitor() {}
double _r1, _r2;
osg::ValueObject* _object2;
};