Skip to content

Commit

Permalink
Merge pull request #44483 from Dr15Jones/ruleOf5ESPreFunctorDecorator
Browse files Browse the repository at this point in the history
Apply rule-of-5 to ESPreFunctorDecorator
  • Loading branch information
cmsbuild authored Mar 20, 2024
2 parents ee7dfbf + 4d857dc commit 47ae9ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion FWCore/Framework/interface/ESPreFunctorDecorator.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ namespace edm {
class ESPreFunctorDecorator {
public:
ESPreFunctorDecorator(const TFunctor& iCaller) : caller_(iCaller) {}
const ESPreFunctorDecorator& operator=(const ESPreFunctorDecorator&) = delete; // stop default
ESPreFunctorDecorator() = delete;
ESPreFunctorDecorator(ESPreFunctorDecorator&&) = default;
ESPreFunctorDecorator(ESPreFunctorDecorator const&) = default;
ESPreFunctorDecorator& operator=(const ESPreFunctorDecorator&) = delete; // stop default
ESPreFunctorDecorator& operator=(ESPreFunctorDecorator&&) = delete;

//virtual ~ESPreFunctorDecorator();

Expand Down

0 comments on commit 47ae9ae

Please sign in to comment.