mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Fix amiguous implicit cast
This commit is contained in:
@@ -591,7 +591,7 @@ std::string SvgSerializer::nameElement(const IfcUtil::IfcBaseEntity* elem) {
|
|||||||
const std::string type = elem->declaration().is("IfcBuildingStorey") ? "storey" : "product";
|
const std::string type = elem->declaration().is("IfcBuildingStorey") ? "storey" : "product";
|
||||||
std::string ifc_name;
|
std::string ifc_name;
|
||||||
if (!elem->get("Name")->isNull()) {
|
if (!elem->get("Name")->isNull()) {
|
||||||
ifc_name = *elem->get("Name");
|
ifc_name = (std::string) *elem->get("Name");
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string name =
|
const std::string name =
|
||||||
|
|||||||
Reference in New Issue
Block a user