Don't raise exception in file constructor

This commit is contained in:
Thomas Krijnen
2025-08-31 15:52:46 +02:00
parent ce02e7a2a0
commit e4d08ce6b7
2 changed files with 38 additions and 18 deletions
+6 -1
View File
@@ -225,7 +225,7 @@ private:
batch_deletion_ids_t;
batch_deletion_ids_t batch_deletion_ids_;
bool batch_mode_ = false;
void process_deletion_();
void process_deletion_(IfcUtil::IfcBaseClass* entity);
public:
#ifdef USE_MMAP
@@ -394,6 +394,11 @@ private:
}
}, storage_);
}
void batch() {
batch_mode_ = true;
}
void unbatch();
};
#ifdef WITH_IFCXML