mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Fix comparison in destructor
This commit is contained in:
@@ -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_) {
|
for (auto& p : all_processed_native_elements_) {
|
||||||
delete p;
|
delete p;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user