From a1fab106d2dfef9a9721c52a88324e00f78031ae Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Wed, 18 Dec 2024 21:03:39 +0100 Subject: [PATCH] Make the PIDHandler class non-copyable --- utils/include/edm4hep/utils/ParticleIDUtils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/include/edm4hep/utils/ParticleIDUtils.h b/utils/include/edm4hep/utils/ParticleIDUtils.h index 640ec037e..738b3c4f9 100644 --- a/utils/include/edm4hep/utils/ParticleIDUtils.h +++ b/utils/include/edm4hep/utils/ParticleIDUtils.h @@ -55,8 +55,8 @@ class PIDHandler { public: PIDHandler() = default; ~PIDHandler() = default; - PIDHandler(const PIDHandler&) = default; - PIDHandler& operator=(const PIDHandler&) = default; + PIDHandler(const PIDHandler&) = delete; + PIDHandler& operator=(const PIDHandler&) = delete; PIDHandler(PIDHandler&&) = default; PIDHandler& operator=(PIDHandler&&) = default;