Fix comparison in destructor

This commit is contained in:
Thomas Krijnen
2024-12-26 14:03:13 +01:00
parent 6486a8947c
commit 457f441187
+1 -1
View File
@@ -891,7 +891,7 @@ namespace IfcGeom {
}
}
if (!settings_.get<ifcopenshell::geometry::settings::IteratorOutput>().get() == ifcopenshell::geometry::settings::NATIVE) {
if (settings_.get<ifcopenshell::geometry::settings::IteratorOutput>().get() != ifcopenshell::geometry::settings::NATIVE) {
for (auto& p : all_processed_native_elements_) {
delete p;
}