From 19aebacbd870f89ced7f31b6f95a30953ccfb224 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 29 Dec 2017 12:25:29 +0100 Subject: [PATCH] Initialize kernel base class --- src/ifcgeom/IfcGeom.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/IfcGeom.h b/src/ifcgeom/IfcGeom.h index df4b14da1e..ee89a08a94 100644 --- a/src/ifcgeom/IfcGeom.h +++ b/src/ifcgeom/IfcGeom.h @@ -117,7 +117,8 @@ private: public: MAKE_TYPE_NAME(Kernel)() - : deflection_tolerance(0.001) + : IfcGeom::Kernel(0) + , deflection_tolerance(0.001) , wire_creation_tolerance(0.0001) , point_equality_tolerance(0.00001) , max_faces_to_sew(-1.0) @@ -128,7 +129,7 @@ public: , placement_rel_to(0) {} - MAKE_TYPE_NAME(Kernel)(const MAKE_TYPE_NAME(Kernel)& other) { + MAKE_TYPE_NAME(Kernel)(const MAKE_TYPE_NAME(Kernel)& other) : IfcGeom::Kernel(0) { *this = other; }