#2256 try explicit cast for clang

This commit is contained in:
Thomas Krijnen
2022-07-05 09:45:55 +02:00
parent 6b9e670bf3
commit 2ab4e44248
+1 -1
View File
@@ -808,7 +808,7 @@ void SvgSerializer::write(const geometry_data& data) {
const std::string& ty_entity_name = ty->declaration().name();
// Damn you, IFC
if (ty_entity_name == "IfcDoorStyle" || ty_entity_name == "IfcDoorType") {
operation_type = *((IfcUtil::IfcBaseEntity*)ty)->get("OperationType");
operation_type = (std::string)*((IfcUtil::IfcBaseEntity*)ty)->get("OperationType");
}
}
}