SVG: Explicitly cast object type

This commit is contained in:
Thomas Krijnen
2021-01-29 15:57:57 +01:00
parent f4ef17eea6
commit 1317263536
+1 -1
View File
@@ -777,7 +777,7 @@ void SvgSerializer::write(const geometry_data& data) {
std::string object_type;
auto ot_arg = data.product->get("ObjectType");
if (!ot_arg->isNull()) {
object_type = *ot_arg;
object_type = (std::string) *ot_arg;
}
if (data.product->declaration().is("IfcAnnotation") && // is an Annotation