Skip to content

Commit

Permalink
[DAQ] Define missing assignment operator
Browse files Browse the repository at this point in the history
  • Loading branch information
aandvalenzuela committed Dec 1, 2023
1 parent 895df58 commit c2296f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DataFormats/FEDRawData/interface/FEDRawData.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ class FEDRawData {
/// Copy constructor
FEDRawData(const FEDRawData &);

/// Assignment operator
FEDRawData &operator=(const FEDRawData &) = default;

/// Dtor
~FEDRawData();

Expand Down
2 changes: 2 additions & 0 deletions DataFormats/FEDRawData/interface/FEDRawDataCollection.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class FEDRawDataCollection : public edm::DoNotRecordParents {

FEDRawDataCollection(const FEDRawDataCollection&);

FEDRawDataCollection& operator=(const FEDRawDataCollection&) = default;

void swap(FEDRawDataCollection& other) { data_.swap(other.data_); }

private:
Expand Down

0 comments on commit c2296f8

Please sign in to comment.