diff --git a/code/AssetLib/Collada/ColladaParser.cpp b/code/AssetLib/Collada/ColladaParser.cpp index b700f14c4..66bdecebf 100644 --- a/code/AssetLib/Collada/ColladaParser.cpp +++ b/code/AssetLib/Collada/ColladaParser.cpp @@ -127,7 +127,7 @@ ColladaParser::ColladaParser(IOSystem *pIOHandler, const std::string &pFile) : // Determine type std::string extension = BaseImporter::GetExtension(pFile); if (extension != "dae") { - zip_archive = std::make_unique(pIOHandler, pFile); + zip_archive.reset(new ZipArchiveIOSystem(pIOHandler, pFile)); } if (zip_archive && zip_archive->isOpen()) {