ifcgeom: Reorder the members in constructors to avoid side effects (Wreorder)

This commit is contained in:
Priit Laes
2021-03-17 21:43:21 +02:00
committed by Thomas Krijnen
parent eee693dfcb
commit 31e7bad056
+5 -5
View File
@@ -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)