From 077f9b701daae5ccc58a4c99016b59b454b56415 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Thu, 18 Mar 2021 08:41:12 +0200 Subject: [PATCH] ifcgeom: Remove unneeded cast causing warning by -Wignored-qualifiers --- src/ifcgeom/IfcGeomFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 18671997a7..c2cfa9712b 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -774,7 +774,7 @@ bool IfcGeom::Kernel::convert_openings(const IfcSchema::IfcProduct* entity, cons convert_shapes(*it2,opening_shapes); } - const unsigned int current_size = (const unsigned int) opening_shapes.size(); + const unsigned int current_size = opening_shapes.size(); for ( unsigned int i = last_size; i < current_size; ++ i ) { opening_shapes[i].prepend(opening_trsf); }