Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[L1] Define missing assignment operator to fix warnings reported in DEVEL IBs #43464

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTCand.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class L1MuGMTCand {
/// copy constructor
L1MuGMTCand(const L1MuGMTCand&);

/// assignment operator
L1MuGMTCand& operator=(const L1MuGMTCand&) = default;

/// destructor
virtual ~L1MuGMTCand();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ class L1MuGMTExtendedCand : public L1MuGMTCand {
/// copy constructor
L1MuGMTExtendedCand(const L1MuGMTExtendedCand&);

/// assignment operator
L1MuGMTExtendedCand& operator=(const L1MuGMTExtendedCand&) = default;

/// destructor
~L1MuGMTExtendedCand() override;

Expand Down
3 changes: 3 additions & 0 deletions DataFormats/L1TMuon/interface/L1MuKBMTCombinedStub.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ class L1MuKBMTCombinedStub {
int eta2 = 0,
int qeta1 = -1,
int qeta2 = -1);
/// copy constructor
L1MuKBMTCombinedStub(const L1MuKBMTCombinedStub&) = default;
//destructor
~L1MuKBMTCombinedStub();
/// return wheel
inline int whNum() const { return whNum_; }
Expand Down