From bb6bd97b12f061e53a470803e9f3dac41dbc7a18 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Thu, 19 Dec 2024 10:05:30 +0100 Subject: [PATCH] Add a comment about the deleted copy constructor and assignment --- utils/include/edm4hep/utils/ParticleIDUtils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/include/edm4hep/utils/ParticleIDUtils.h b/utils/include/edm4hep/utils/ParticleIDUtils.h index 738b3c4f..d9c2791f 100644 --- a/utils/include/edm4hep/utils/ParticleIDUtils.h +++ b/utils/include/edm4hep/utils/ParticleIDUtils.h @@ -55,6 +55,7 @@ class PIDHandler { public: PIDHandler() = default; ~PIDHandler() = default; + // Copies are not allowed to avoid copying the internal maps PIDHandler(const PIDHandler&) = delete; PIDHandler& operator=(const PIDHandler&) = delete; PIDHandler(PIDHandler&&) = default;