diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index b53f2d25aa..1f2270f182 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -523,16 +523,6 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas %newobject read; %newobject parse_ifcxml; -%inline %{ - IfcParse::IfcFile* parse_ifcxml(const std::string& fn) { -#ifdef WITH_IFCXML - return IfcParse::parse_ifcxml(fn); -#else - throw std::runtime_error("No IfcXML support enabled"); -#endif - } -%} - %inline %{ IfcParse::IfcFile* open(const std::string& fn) { IfcParse::IfcFile* f = new IfcParse::IfcFile(fn);