mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 23:00:53 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WITH_IFCXML
|
|
||||||
IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filename) {
|
IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filename) {
|
||||||
throw std::runtime_error("IFC-XML import temporarily disabled");
|
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;
|
return state.file;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // WITH_IFCXML
|
#endif // WITH_IFCXML
|
||||||
|
|||||||
Reference in New Issue
Block a user