From 31e7bad05679be71a13d098384714280dbe6f16b Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Wed, 17 Mar 2021 21:43:21 +0200 Subject: [PATCH] ifcgeom: Reorder the members in constructors to avoid side effects (Wreorder) --- 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 5ce73b61ab..32e9701138 100644 --- a/src/ifcgeom/IfcGeom.h +++ b/src/ifcgeom/IfcGeom.h @@ -255,13 +255,13 @@ public: , ifc_planeangle_unit(-1.0) , modelling_precision(0.00001) , dimensionality(1.) - , placement_rel_to(nullptr) - , faceset_helper_(nullptr) , layerset_first(-1.) - , disable_boolean_result(-1.) , no_wire_intersection_check(-1) , no_wire_intersection_tolerance(-1) , precision_factor(10.) + , placement_rel_to(nullptr) + , faceset_helper_(nullptr) + , disable_boolean_result(-1.) {} MAKE_TYPE_NAME(Kernel)(const MAKE_TYPE_NAME(Kernel)& other) @@ -272,10 +272,10 @@ public: , ifc_planeangle_unit(other.ifc_planeangle_unit) , modelling_precision(other.modelling_precision) , dimensionality(other.dimensionality) - , placement_rel_to(other.placement_rel_to) // @nb faceset_helper_ always initialized to 0 - , faceset_helper_(nullptr) , layerset_first(other.layerset_first) + , placement_rel_to(other.placement_rel_to) + , faceset_helper_(nullptr) , disable_boolean_result(other.disable_boolean_result) , offset(other.offset)