From c4b5b2eff7d3e961fc097095e9c44a3d36f66bad Mon Sep 17 00:00:00 2001 From: Giles Bathgate Date: Wed, 18 Nov 2020 07:43:12 +0000 Subject: [PATCH] Fix uninitialized members in Ray_hit_generator2.h --- .../include/CGAL/Convex_decomposition_3/Ray_hit_generator2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Ray_hit_generator2.h b/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Ray_hit_generator2.h index a936a2a47d9..cfd755c8745 100644 --- a/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Ray_hit_generator2.h +++ b/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Ray_hit_generator2.h @@ -69,7 +69,8 @@ class Ray_hit_generator2 : public Modifier_base { bool vertex_added; public: - Ray_hit_generator2(Vector_3 d, Vertex_handle v) : dir(d), vs(v) {} + Ray_hit_generator2(Vector_3 d, Vertex_handle v) + : dir(d), vs(v), sncp(nullptr), pl(nullptr), edge_splitted(false), vertex_added(false) {} Vertex_handle create_vertex_on_first_hit(const Ray_3& r) {