add virtual destructor to AbstractKernel base class

this fixes a SIGTRAP when destructing the geometry iterator, as that calls delete kernel_.
This commit is contained in:
Arjo Nagelhout
2025-03-25 18:34:10 +01:00
committed by Thomas Krijnen
parent 0d7439c7a5
commit 244320dd49
+2
View File
@@ -44,6 +44,8 @@ namespace ifcopenshell {
: geometry_library_(geometry_library)
, settings_(settings) {}
virtual ~AbstractKernel() = default;
virtual bool convert(const taxonomy::ptr, IfcGeom::ConversionResults&);
const Settings& settings() const;
const std::string& geometry_library() const {