Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit a869e88

Browse files
hawkaaaothms
authored andcommitted
fix: use correct initializer function when compiling with USE_MMAP
1 parent 5ad6abe commit a869e88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ifcparse/IfcParse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ void IfcEntityInstanceData::setArgument(unsigned int i, Argument* a, IfcUtil::Ar
13041304
//
13051305
#ifdef USE_MMAP
13061306
IfcFile::IfcFile(const std::string& fn, bool mmap) {
1307-
return IfcFile::Init(new IfcSpfStream(fn, mmap));
1307+
initialize_(new IfcSpfStream(fn, mmap));
13081308
}
13091309
#else
13101310
IfcFile::IfcFile(const std::string& fn) {

0 commit comments

Comments
 (0)