From 55bcd6e2934172fd1b636ba195be7a8efd813258 Mon Sep 17 00:00:00 2001 From: lintao <lintao51@gmail.com> Date: Thu, 24 Dec 2020 11:37:12 +0800 Subject: [PATCH] Bugfix: initialize the pointers. --- Detector/GeomSvc/src/GeomSvc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Detector/GeomSvc/src/GeomSvc.h b/Detector/GeomSvc/src/GeomSvc.h index 7c4207af..20d559a7 100644 --- a/Detector/GeomSvc/src/GeomSvc.h +++ b/Detector/GeomSvc/src/GeomSvc.h @@ -57,9 +57,9 @@ private: dd4hep::Detector* m_dd4hep_geo; - gear::ZPlanarParametersImpl* m_vxdParameters; - dd4hep::rec::ZPlanarData* m_vxdData; - dd4hep::rec::ConicalSupportData* m_beamPipeData; + gear::ZPlanarParametersImpl* m_vxdParameters{nullptr}; + dd4hep::rec::ZPlanarData* m_vxdData{nullptr}; + dd4hep::rec::ConicalSupportData* m_beamPipeData{nullptr}; //gear::GearParametersImpl* m_vxdInfra; std::map<std::string, std::map<std::string,double> > m_detParameters; -- GitLab