From a869e88de041e4111168c24a440615d5fe657ba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20=C3=85mdal?= Date: Tue, 15 Dec 2020 09:44:19 +0100 Subject: [PATCH] fix: use correct initializer function when compiling with USE_MMAP --- src/ifcparse/IfcParse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index d6c0143261..9cc4976d6e 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -1304,7 +1304,7 @@ void IfcEntityInstanceData::setArgument(unsigned int i, Argument* a, IfcUtil::Ar // #ifdef USE_MMAP IfcFile::IfcFile(const std::string& fn, bool mmap) { - return IfcFile::Init(new IfcSpfStream(fn, mmap)); + initialize_(new IfcSpfStream(fn, mmap)); } #else IfcFile::IfcFile(const std::string& fn) {