mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user