Skip to content

Commit

Permalink
Merge pull request #43376 from aandvalenzuela/trk-alca-devel
Browse files Browse the repository at this point in the history
[ALCA] Remove explicit assignment operator in favor of the compiler-generated one
  • Loading branch information
cmsbuild authored Nov 24, 2023
2 parents 7d5cb36 + 23cc204 commit d11a112
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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); }
Expand Down

0 comments on commit d11a112

Please sign in to comment.