From 7a10edbd73b0fd5f60b33f2318a47106df837b3d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 17 Jul 2024 03:43:55 +0200 Subject: [PATCH] Fix ambiguous overload after dedbf7014ad23295e160317903630ea2cc99a2d6 --- src/ifcgeom/Converter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/Converter.cpp b/src/ifcgeom/Converter.cpp index 20809f5a7f..fef9dc3517 100644 --- a/src/ifcgeom/Converter.cpp +++ b/src/ifcgeom/Converter.cpp @@ -237,13 +237,13 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe const IfcUtil::IfcBaseEntity *representation = representation_node->instance->as(); auto representation_identifier = representation->get("RepresentationIdentifier"); if (!representation_identifier->isNull()) { - context_string = *representation_identifier; + context_string = (std::string) *representation_identifier; } else { IfcUtil::IfcBaseClass *context = (IfcUtil::IfcBaseClass *) *representation->get("ContextOfItems"); auto context_type = context->as()->get("ContextType"); if (!context_type->isNull()) { - context_string = *context_type; + context_string = (std::string) *context_type; } }