File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments