diff --git a/Reconstruction/egamma/egammaCaloUtils/egammaCaloUtils/CookieCutterHelpers.h b/Reconstruction/egamma/egammaCaloUtils/egammaCaloUtils/CookieCutterHelpers.h
index f5e27b95ad3cfcc39e9bfe62c8bf48ed5033442c..1ab20e5d716354151e90d48e402822b764a6a647 100644
--- a/Reconstruction/egamma/egammaCaloUtils/egammaCaloUtils/CookieCutterHelpers.h
+++ b/Reconstruction/egamma/egammaCaloUtils/egammaCaloUtils/CookieCutterHelpers.h
@@ -27,7 +27,7 @@ struct CentralPosition : public AthMessaging
   float phiF = 999;
   float emaxF = -999 * Gaudi::Units::GeV;
 
-  CentralPosition() = default;
+  CentralPosition() = delete;
   CentralPosition(
     const std::vector<const xAOD::CaloCluster*>& clusters,
     const CaloDetDescrManager& mgr);
diff --git a/Trigger/EFTracking/FPGATrackSim/FPGATrackSimSGInput/src/FPGATrackSimSGToRawHitsTool.h b/Trigger/EFTracking/FPGATrackSim/FPGATrackSimSGInput/src/FPGATrackSimSGToRawHitsTool.h
index 455b78e81a99f32013bcfd0d4a6a181157531c7b..9ea47f3c1cda4ce93832a05291b64d458761b4c2 100644
--- a/Trigger/EFTracking/FPGATrackSim/FPGATrackSimSGInput/src/FPGATrackSimSGToRawHitsTool.h
+++ b/Trigger/EFTracking/FPGATrackSim/FPGATrackSimSGInput/src/FPGATrackSimSGToRawHitsTool.h
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
 */
 
 #ifndef FPGATrackSimSGInput_FPGATrackSimSGTORAWHITSTOOL_H
@@ -84,7 +84,6 @@ private:
   Gaudi::Property<double>      m_minPt { this, "minPt", .8*CLHEP::GeV };
 
   //internal pointers
-  AtlasDetectorID* m_idHelper = nullptr;
   const PixelID* m_pixelId = nullptr;
   const SCT_ID* m_sctId = nullptr;