From 23cc204e44eaa04e73289495f28dd2fbb90403e0 Mon Sep 17 00:00:00 2001 From: aandvalenzuela Date: Thu, 23 Nov 2023 18:03:54 +0100 Subject: [PATCH] Remove assignment operator --- .../interface/BeamSpotTransientTrackingRecHit.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Alignment/ReferenceTrajectories/interface/BeamSpotTransientTrackingRecHit.h b/Alignment/ReferenceTrajectories/interface/BeamSpotTransientTrackingRecHit.h index c90858eb30834..ab89198c48515 100644 --- a/Alignment/ReferenceTrajectories/interface/BeamSpotTransientTrackingRecHit.h +++ b/Alignment/ReferenceTrajectories/interface/BeamSpotTransientTrackingRecHit.h @@ -59,9 +59,6 @@ class BeamSpotTransientTrackingRecHit final : public TValidTrackingRecHit { LocalError localError_; private: - // should not have assignment operator (?) - BeamSpotTransientTrackingRecHit &operator=(const BeamSpotTransientTrackingRecHit &t) { return *(this); } - // hide the clone method for ReferenceCounted. Warning: this method is still // accessible via the bas class TrackingRecHit interface! BeamSpotTransientTrackingRecHit *clone() const override { return new BeamSpotTransientTrackingRecHit(*this); }