From 457f441187bc4357efdecafe5fb6d96450690cb5 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 26 Dec 2024 14:03:13 +0100 Subject: [PATCH] Fix comparison in destructor --- src/ifcgeom/Iterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/Iterator.h b/src/ifcgeom/Iterator.h index 5a2a4dfca0..fc7f46ad86 100644 --- a/src/ifcgeom/Iterator.h +++ b/src/ifcgeom/Iterator.h @@ -891,7 +891,7 @@ namespace IfcGeom { } } - if (!settings_.get().get() == ifcopenshell::geometry::settings::NATIVE) { + if (settings_.get().get() != ifcopenshell::geometry::settings::NATIVE) { for (auto& p : all_processed_native_elements_) { delete p; }