fix compile issue: replace std::make_unique

pull/3635/head
Kim Kulling 2021-02-02 22:54:20 +01:00
parent 50fd5127ef
commit 6ee1a32fb2
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ ColladaParser::ColladaParser(IOSystem *pIOHandler, const std::string &pFile) :
// Determine type // Determine type
std::string extension = BaseImporter::GetExtension(pFile); std::string extension = BaseImporter::GetExtension(pFile);
if (extension != "dae") { if (extension != "dae") {
zip_archive = std::make_unique<ZipArchiveIOSystem>(pIOHandler, pFile); zip_archive.reset(new ZipArchiveIOSystem(pIOHandler, pFile));
} }
if (zip_archive && zip_archive->isOpen()) { if (zip_archive && zip_archive->isOpen()) {