Changed ReadFileCallback and WriteFileCallback to use virtual inhertinace.

This commit is contained in:
Robert Osfield 2007-08-22 09:05:34 +00:00
parent c1dc079f56
commit 0390243ed9

View File

@ -130,7 +130,7 @@ class OSGDB_EXPORT Registry : public osg::Referenced
bool writeObject(const osg::Object& obj,Output& fw);
class ReadFileCallback : public osg::Referenced
class ReadFileCallback : public virtual osg::Referenced
{
public:
@ -211,7 +211,7 @@ class OSGDB_EXPORT Registry : public osg::Referenced
class WriteFileCallback : public osg::Referenced
class WriteFileCallback : public virtual osg::Referenced
{
public: