Skip to content

Commit

Permalink
Apply rule-of-5 to ESPreFunctorDecorator
Browse files Browse the repository at this point in the history
This avoids a compiler warning under clang.
  • Loading branch information
Dr15Jones committed Mar 20, 2024
1 parent 7452562 commit 4d857dc
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 4d857dc

Please sign in to comment.