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.
This commit is contained in:
Andrej730
2025-12-02 19:55:45 +05:00
parent c7df59e961
commit 1468bf3c97
-2
View File
@@ -688,7 +688,6 @@ end:
return;
}
#ifdef WITH_IFCXML
IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filename) {
throw std::runtime_error("IFC-XML import temporarily disabled");
@@ -722,6 +721,5 @@ IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filen
return state.file;
}
#endif
#endif // WITH_IFCXML