From bb3e3ab06b0115f61764b1dd61be5f8e840fbfa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 3 Apr 2025 15:14:02 +0200 Subject: [PATCH] init pointers of subtraits --- Arrangement_on_surface_2/include/CGAL/Arr_conic_traits_2.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_conic_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_conic_traits_2.h index 638e5f630b2..f112f8c3b99 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_conic_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_conic_traits_2.h @@ -128,7 +128,11 @@ private: public: /*! Default constructor. */ - Arr_conic_traits_2() {} + Arr_conic_traits_2() + : m_rat_kernel(std::make_shared()), + m_alg_kernel(std::make_shared()), + m_nt_traits(std::make_shared()) + {} /*! Construct from resources. */