Replaced depreacated std::auto_ptr with std::unique_ptr

This commit is contained in:
mensinda
2016-04-05 22:56:11 +02:00
parent 18843fe5e1
commit cff5b0d1a0
7 changed files with 11 additions and 11 deletions

View File

@@ -324,7 +324,7 @@ aiReturn Exporter :: Export( const aiScene* pScene, const char* pFormatId, const
aiScene* scenecopy_tmp;
SceneCombiner::CopyScene(&scenecopy_tmp,pScene);
std::auto_ptr<aiScene> scenecopy(scenecopy_tmp);
std::unique_ptr<aiScene> scenecopy(scenecopy_tmp);
const ScenePrivateData* const priv = ScenePriv(pScene);
// steps that are not idempotent, i.e. we might need to run them again, usually to get back to the