From 6ee1a32fb2f8b1e6d5b233327e6189effb5051b1 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 2 Feb 2021 22:54:20 +0100 Subject: [PATCH] fix compile issue: replace std::make_unique --- code/AssetLib/Collada/ColladaParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {