fix compile issue: replace std::make_unique
parent
50fd5127ef
commit
6ee1a32fb2
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue