Fix amiguous implicit cast

This commit is contained in:
Thomas Krijnen
2020-05-11 11:19:54 +02:00
committed by GitHub
parent df62643fc7
commit ad4e7fa14f
+1 -1
View File
@@ -591,7 +591,7 @@ std::string SvgSerializer::nameElement(const IfcUtil::IfcBaseEntity* elem) {
const std::string type = elem->declaration().is("IfcBuildingStorey") ? "storey" : "product";
std::string ifc_name;
if (!elem->get("Name")->isNull()) {
ifc_name = *elem->get("Name");
ifc_name = (std::string) *elem->get("Name");
}
const std::string name =