diff --git a/FWCore/Framework/interface/ESPreFunctorDecorator.h b/FWCore/Framework/interface/ESPreFunctorDecorator.h index 76d14356c3e74..4cfec6ca7ebb4 100644 --- a/FWCore/Framework/interface/ESPreFunctorDecorator.h +++ b/FWCore/Framework/interface/ESPreFunctorDecorator.h @@ -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();