Replaced std::auto_ptr<> usage as it's deprecated in C++11 and will be removed in C++17
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user