fix: use correct initializer function when compiling with USE_MMAP

This commit is contained in:
Håkon Åmdal
2020-12-15 09:44:19 +01:00
committed by Thomas Krijnen
parent 5ad6abea1a
commit a869e88de0
+1 -1
View File
@@ -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) {