Replace auto_ptr with unique_ptr

This commit is contained in:
Erik Hofman
2016-12-07 11:03:49 +01:00
parent b74d1a8351
commit e768553a4a
22 changed files with 46 additions and 46 deletions
+2 -2
View File
@@ -19,7 +19,7 @@
#define SG_PACKAGE_ROOT_HXX
#include <vector>
#include <memory> // for auto_ptr
#include <memory> // for unique_ptr
#include <simgear/misc/sg_path.hxx>
#include <simgear/package/Delegate.hxx>
@@ -161,7 +161,7 @@ private:
class ThumbnailDownloader;
class RootPrivate;
std::auto_ptr<RootPrivate> d;
std::unique_ptr<RootPrivate> d;
};
typedef SGSharedPtr<Root> RootRef;