diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index 05a39fd4c6..157f4c6c45 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -51,7 +51,7 @@ %extend IfcGeom::tree { - static IfcEntityList::ptr vector_to_list(const std::vector& ps) const { + static IfcEntityList::ptr vector_to_list(const std::vector& ps) { IfcEntityList::ptr r(new IfcEntityList); for (std::vector::const_iterator it = ps.begin(); it != ps.end(); ++it) { r->push(*it);