Skip to content

Commit 34dbaaa

Browse files
authored
Merge pull request cms-sw#43316 from aandvalenzuela/reco-xpog-devel
[XPOG][RECO] Fix DEVEL warnings on deprecated copy-constructors
2 parents a56a061 + cc49a34 commit 34dbaaa

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

DataFormats/PatCandidates/interface/PFIsolation.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ namespace pat {
1515

1616
PFIsolation(float ch, float nh, float ph, float pu) : chiso_(ch), nhiso_(nh), phiso_(ph), puiso_(pu) {}
1717

18-
~PFIsolation() {}
19-
20-
PFIsolation& operator=(const PFIsolation& iso) {
21-
chiso_ = iso.chiso_;
22-
nhiso_ = iso.nhiso_;
23-
phiso_ = iso.phiso_;
24-
puiso_ = iso.puiso_;
25-
return *this;
26-
}
27-
2818
float chargedHadronIso() const { return chiso_; }
2919
float neutralHadronIso() const { return nhiso_; }
3020
float photonIso() const { return phiso_; }

0 commit comments

Comments
 (0)