From 1468bf3c97380d77d844b07f217af52dbdc75924 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 2 Dec 2025 19:55:45 +0500 Subject: [PATCH] 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. --- src/ifcparse/parse_ifcxml.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ifcparse/parse_ifcxml.cpp b/src/ifcparse/parse_ifcxml.cpp index 26f0552075..60cd85c1c6 100644 --- a/src/ifcparse/parse_ifcxml.cpp +++ b/src/ifcparse/parse_ifcxml.cpp @@ -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