Skip to content

Commit

Permalink
TrackerGeometry: deleted copy constructor and and defaulted move cons…
Browse files Browse the repository at this point in the history
…tructor
  • Loading branch information
mmusich committed Jun 10, 2023
1 parent b685576 commit 410b7d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ class TrackerGeometry final : public TrackingGeometry {
Ph2SS
};

// deleted copy constructor and copy assignment operators
TrackerGeometry(TrackerGeometry const&) = delete;
TrackerGeometry& operator=(TrackerGeometry const&) = delete;

// defaulted move constructor and move assignment operators
TrackerGeometry(TrackerGeometry&&) = default;
TrackerGeometry& operator=(TrackerGeometry&&) = default;

~TrackerGeometry() override;

const DetTypeContainer& detTypes() const override { return theDetTypes; }
Expand Down

0 comments on commit 410b7d1

Please sign in to comment.