Fix null dereference

This commit is contained in:
Thomas Krijnen
2017-09-17 20:22:29 +02:00
parent 96ec925f31
commit 8c26037f84
+1 -1
View File
@@ -604,7 +604,7 @@ namespace IfcGeom {
// get the parent
try {
parent_object = getObject(parent_object->parent_id());
parent_object = getObject(ret->parent_id());
} catch (const std::exception& e) {
Logger::Error(e);
hasParent = false;