mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-15 18:14:08 +00:00
Preprocessor consistency
This commit is contained in:
@@ -173,7 +173,7 @@ void descend(IfcProduct* product, ptree& tree) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_IFC2x3
|
#ifndef USE_IFC4
|
||||||
IfcObjectDefinition::list::ptr structures = get_related
|
IfcObjectDefinition::list::ptr structures = get_related
|
||||||
<IfcProduct, IfcRelDecomposes, IfcObjectDefinition>
|
<IfcProduct, IfcRelDecomposes, IfcObjectDefinition>
|
||||||
(product, &IfcProduct::IsDecomposedBy, &IfcRelDecomposes::RelatedObjects);
|
(product, &IfcProduct::IsDecomposedBy, &IfcRelDecomposes::RelatedObjects);
|
||||||
@@ -209,7 +209,7 @@ template <>
|
|||||||
void descend(IfcProject* project, ptree& tree) {
|
void descend(IfcProject* project, ptree& tree) {
|
||||||
ptree& child = format_entity_instance(project, tree);
|
ptree& child = format_entity_instance(project, tree);
|
||||||
|
|
||||||
#ifdef USE_IFC2x3
|
#ifndef USE_IFC4
|
||||||
IfcObjectDefinition::list::ptr structures = get_related
|
IfcObjectDefinition::list::ptr structures = get_related
|
||||||
<IfcProject, IfcRelDecomposes, IfcObjectDefinition>
|
<IfcProject, IfcRelDecomposes, IfcObjectDefinition>
|
||||||
(project, &IfcProject::IsDecomposedBy, &IfcRelDecomposes::RelatedObjects);
|
(project, &IfcProject::IsDecomposedBy, &IfcRelDecomposes::RelatedObjects);
|
||||||
|
|||||||
Reference in New Issue
Block a user