Skip to content

Commit 457f441

Browse files
committed
Fix comparison in destructor
1 parent 6486a89 commit 457f441

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ifcgeom/Iterator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ namespace IfcGeom {
891891
}
892892
}
893893

894-
if (!settings_.get<ifcopenshell::geometry::settings::IteratorOutput>().get() == ifcopenshell::geometry::settings::NATIVE) {
894+
if (settings_.get<ifcopenshell::geometry::settings::IteratorOutput>().get() != ifcopenshell::geometry::settings::NATIVE) {
895895
for (auto& p : all_processed_native_elements_) {
896896
delete p;
897897
}

0 commit comments

Comments
 (0)