From a36d0d4df83d2d2a2a9fe0c69cd1dbf863ca6d39 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Fri, 18 Apr 2025 11:08:19 +0200 Subject: [PATCH] initialize ptrs --- Basic_viewer/include/CGAL/Buffer_for_vao.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Basic_viewer/include/CGAL/Buffer_for_vao.h b/Basic_viewer/include/CGAL/Buffer_for_vao.h index 63a9413447a..d5773b9b879 100644 --- a/Basic_viewer/include/CGAL/Buffer_for_vao.h +++ b/Basic_viewer/include/CGAL/Buffer_for_vao.h @@ -884,13 +884,13 @@ protected: typedef CGAL::Constrained_Delaunay_triangulation_2 CDT; protected: - std::vector* m_pos_buffer; - std::vector* m_index_buffer; - std::vector* m_color_buffer; - mutable std::vector* m_flat_normal_buffer; - mutable std::vector* m_gouraud_normal_buffer; + std::vector* m_pos_buffer=nullptr; + std::vector* m_index_buffer=nullptr; + std::vector* m_color_buffer=nullptr; + mutable std::vector* m_flat_normal_buffer=nullptr; + mutable std::vector* m_gouraud_normal_buffer=nullptr; - CGAL::Bbox_3* m_bb; + CGAL::Bbox_3* m_bb=nullptr; bool m_zero_x; /// True iff all points have x==0 bool m_zero_y; /// True iff all points have y==0