mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 04:59:52 +00:00
#2256 try explicit cast for clang
This commit is contained in:
@@ -808,7 +808,7 @@ void SvgSerializer::write(const geometry_data& data) {
|
|||||||
const std::string& ty_entity_name = ty->declaration().name();
|
const std::string& ty_entity_name = ty->declaration().name();
|
||||||
// Damn you, IFC
|
// Damn you, IFC
|
||||||
if (ty_entity_name == "IfcDoorStyle" || ty_entity_name == "IfcDoorType") {
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user