From 4ea56ba987b7dd60989ef89722b2229c80feace2 Mon Sep 17 00:00:00 2001 From: tpaviot Date: Mon, 2 Nov 2020 15:48:32 +0100 Subject: [PATCH] [g++-warning-fix] Fixed initialization reorder --- src/ifcgeom/IfcGeom.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ifcgeom/IfcGeom.h b/src/ifcgeom/IfcGeom.h index ec98989770..a1852aab22 100644 --- a/src/ifcgeom/IfcGeom.h +++ b/src/ifcgeom/IfcGeom.h @@ -224,6 +224,11 @@ private: double modelling_precision; double dimensionality; double layerset_first; + + // For stopping PlacementRelTo recursion in convert(const IfcSchema::IfcObjectPlacement* l, gp_Trsf& trsf) + const IfcParse::declaration* placement_rel_to; + + faceset_helper* faceset_helper_; gp_Vec offset = gp_Vec{0.0, 0.0, 0.0}; gp_Quaternion rotation = gp_Quaternion{}; gp_Trsf offset_and_rotation = gp_Trsf(); @@ -236,11 +241,6 @@ private: const SurfaceStyle* internalize_surface_style(const std::pair& shading_style); - // For stopping PlacementRelTo recursion in convert(const IfcSchema::IfcObjectPlacement* l, gp_Trsf& trsf) - const IfcParse::declaration* placement_rel_to; - - faceset_helper* faceset_helper_; - public: MAKE_TYPE_NAME(Kernel)() : IfcGeom::Kernel(0)