Replaced std::auto_ptr<> usage as it's deprecated in C++11 and will be removed in C++17

This commit is contained in:
Robert Osfield
2018-05-05 12:28:45 +01:00
parent a15d4532fa
commit f49e1d32c9
10 changed files with 30 additions and 16 deletions

View File

@@ -554,7 +554,7 @@ class OSGDB_EXPORT Registry : public osg::Referenced
public:
/** Functor used in internal implementations.*/
struct ReadFunctor
struct ReadFunctor : public osg::Referenced
{
ReadFunctor(const std::string& filename, const Options* options):
_filename(filename),