From ddeff242147c715c8ca29625be83b609850cfa6c Mon Sep 17 00:00:00 2001 From: Lamar Moore <lamar.moore@stfc.ac.uk> Date: Tue, 13 Mar 2018 11:30:25 +0000 Subject: [PATCH] fix nullptr issue #21230 --- .../inc/MantidGeometry/Rendering/GeometryTriangulator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Framework/Geometry/inc/MantidGeometry/Rendering/GeometryTriangulator.h b/Framework/Geometry/inc/MantidGeometry/Rendering/GeometryTriangulator.h index a457c8f71f4..0e7cb588545 100644 --- a/Framework/Geometry/inc/MantidGeometry/Rendering/GeometryTriangulator.h +++ b/Framework/Geometry/inc/MantidGeometry/Rendering/GeometryTriangulator.h @@ -44,8 +44,8 @@ private: size_t m_nPoints; std::vector<double> m_points; ///< double array or points std::vector<uint32_t> m_faces; ///< Integer array of faces - const CSGObject *m_csgObj; ///< Input Object - const MeshObject *m_meshObj; + const CSGObject *m_csgObj = nullptr; ///< Input Object + const MeshObject *m_meshObj = nullptr; void checkTriangulated(); public: -- GitLab