Skip to content

Commit

Permalink
Remove assignment operator
Browse files Browse the repository at this point in the history
  • Loading branch information
aandvalenzuela committed Nov 23, 2023
1 parent 2990989 commit 23cc204
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 23cc204

Please sign in to comment.