From bd3118b4a3dfb79b1a4931eb1cc09d9360b06305 Mon Sep 17 00:00:00 2001 From: Xavier Lamorlette Date: Tue, 29 Jan 2019 10:35:12 +0100 Subject: [PATCH] Fix a "declaration of 'identifier' hides class member" warning --- src/ifcgeom/IfcRepresentationShapeItem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcRepresentationShapeItem.h b/src/ifcgeom/IfcRepresentationShapeItem.h index 29d5ca264b..c06ecdd4b8 100644 --- a/src/ifcgeom/IfcRepresentationShapeItem.h +++ b/src/ifcgeom/IfcRepresentationShapeItem.h @@ -46,7 +46,7 @@ namespace IfcGeom { const gp_GTrsf& Placement() const { return placement; } bool hasStyle() const { return style != 0; } const SurfaceStyle& Style() const { return *style; } - void setStyle(const SurfaceStyle* style) { this->style = style; } + void setStyle(const SurfaceStyle* newStyle) { style = newStyle; } }; typedef std::vector IfcRepresentationShapeItems; }