Skip to content

Commit 1468bf3

Browse files
committed
parse_ifcxml - remove redundant ifdef WITH_IFCXML
The entire file is already wrapped in `WITH_IFCXML`, so no need to do it again for some block.
1 parent c7df59e commit 1468bf3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ifcparse/parse_ifcxml.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,6 @@ static void start_element(void* user, const xmlChar* tag, const xmlChar** attrs)
688688
return;
689689
}
690690

691-
#ifdef WITH_IFCXML
692691
IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filename) {
693692
throw std::runtime_error("IFC-XML import temporarily disabled");
694693

@@ -722,6 +721,5 @@ IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filen
722721

723722
return state.file;
724723
}
725-
#endif
726724

727725
#endif // WITH_IFCXML

0 commit comments

Comments
 (0)