Preprocessor consistency

This commit is contained in:
Thomas Krijnen
2016-05-03 11:21:39 +02:00
parent e9c7cf235b
commit 2c3fa89dd0
+2 -2
View File
@@ -173,7 +173,7 @@ void descend(IfcProduct* product, ptree& tree) {
}
}
#ifdef USE_IFC2x3
#ifndef USE_IFC4
IfcObjectDefinition::list::ptr structures = get_related
<IfcProduct, IfcRelDecomposes, IfcObjectDefinition>
(product, &IfcProduct::IsDecomposedBy, &IfcRelDecomposes::RelatedObjects);
@@ -209,7 +209,7 @@ template <>
void descend(IfcProject* project, ptree& tree) {
ptree& child = format_entity_instance(project, tree);
#ifdef USE_IFC2x3
#ifndef USE_IFC4
IfcObjectDefinition::list::ptr structures = get_related
<IfcProject, IfcRelDecomposes, IfcObjectDefinition>
(project, &IfcProject::IsDecomposedBy, &IfcRelDecomposes::RelatedObjects);