Skip to content

Commit 7a10edb

Browse files
committed
Fix ambiguous overload after dedbf70
1 parent 669b0b8 commit 7a10edb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ifcgeom/Converter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,13 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe
237237
const IfcUtil::IfcBaseEntity *representation = representation_node->instance->as<IfcUtil::IfcBaseEntity>();
238238
auto representation_identifier = representation->get("RepresentationIdentifier");
239239
if (!representation_identifier->isNull()) {
240-
context_string = *representation_identifier;
240+
context_string = (std::string) *representation_identifier;
241241
}
242242
else {
243243
IfcUtil::IfcBaseClass *context = (IfcUtil::IfcBaseClass *) *representation->get("ContextOfItems");
244244
auto context_type = context->as<IfcUtil::IfcBaseEntity>()->get("ContextType");
245245
if (!context_type->isNull()) {
246-
context_string = *context_type;
246+
context_string = (std::string) *context_type;
247247
}
248248
}
249249

0 commit comments

Comments
 (0)