From 1c39eba3f7ba7ac938b2c2945aae47a76c7d6aa4 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 27 Jun 2014 12:24:49 +0000 Subject: [PATCH] Fix typo --- src/ifcgeom/IfcGeomShapes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ifcgeom/IfcGeomShapes.cpp b/src/ifcgeom/IfcGeomShapes.cpp index a2115010a3..432dff57a7 100644 --- a/src/ifcgeom/IfcGeomShapes.cpp +++ b/src/ifcgeom/IfcGeomShapes.cpp @@ -430,11 +430,11 @@ bool IfcGeom::convert(const IfcSchema::IfcMappedItem* l, IfcRepresentationShapeI return b; } -bool IfcGeom::convert(const IfcSchema::IfcShapeRepresentation::ptr l, IfcRepresentationShapeItems& shapes) { - IfcSchema::IfcRepresentationItem::list items = l->Items(); +bool IfcGeom::convert(const IfcSchema::IfcShapeRepresentation* l, IfcRepresentationShapeItems& shapes) { + IfcSchema::IfcRepresentationItem::list::ptr items = l->Items(); bool part_succes = false; if ( items->Size() ) { - for ( IfcSchema::IfcRepresentationItem::it it = items->begin(); it != items->end(); ++ it ) { + for ( IfcSchema::IfcRepresentationItem::list::it it = items->begin(); it != items->end(); ++ it ) { IfcSchema::IfcRepresentationItem* representation_item = *it; if ( IfcGeom::is_shape_collection(representation_item) ) { part_succes |= IfcGeom::convert_shapes(*it, shapes);