diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 2829ca61d..2b317ea91 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -50,7 +50,8 @@ namespace osgDB { The RegisterReaderWriterProxy can be used to automatically register at runtime a reader/writer with the Registry. */ -class OSGDB_EXPORT Registry : public osg::Referenced +class OSGDB_EXPORT Registry : osg::depends_on, + public osg::Referenced { public: