From 4d5a77d8e3095e943f032c1c1d10272448d6783d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 22 Mar 2023 09:02:57 +0100 Subject: [PATCH] Ambiguous overload --- 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 c589d764e7..c34713dabf 100644 --- a/src/ifcgeom/Iterator.h +++ b/src/ifcgeom/Iterator.h @@ -669,7 +669,7 @@ namespace IfcGeom { instance_type = ifc_entity->declaration().name(); if (ifc_entity->declaration().is("IfcRoot")) { - product_guid = *ifc_entity->get("GlobalId"); + product_guid = (std::string) *ifc_entity->get("GlobalId"); product_name = ifc_entity->get_value("Name", ""); }