Inline conversion result vectors

Generated with the assistance of an AI coding tool.
This commit is contained in:
Thomas Krijnen
2026-08-08 15:45:04 +02:00
parent 8c003110fe
commit 616c7a00d5
29 changed files with 157 additions and 159 deletions
+1 -1
View File
@@ -1036,7 +1036,7 @@ struct shape_rtti : public boost::static_visitor<PyObject*>
// https://github.com/IfcOpenShell/IfcOpenShell/issues/1649
instance.declaration().is("IfcProfileDef")
) {
ifcopenshell::geom::conversion_results shapes;
std::vector<ifcopenshell::geom::conversion_result> shapes;
try {
shapes = kernel.convert(instance);
} catch (...) {