Hi,

Thomas told me to use two "&", ie, edm::ConsumesCollector && in the call,
and not just one "&" in contrast to what you presented in your talk
(page 8 here:
https://indico.cern.ch/getFile.py/access?contribId=4&sessionId=1&resId=0&materialId=slides&confId=254366)

??

Best regards

Martin


On Tue, 3 Sep 2013, Chris Jones wrote:

> > @@ -3,6 +3,7 @@
> >  
> >  #include "FWCore/PluginManager/interface/PluginFactory.h"
> >  #include "RecoLocalCalo/EcalRecProducers/interface/EcalRecHitWorkerBaseClass.h"
> > -typedef edmplugin::PluginFactory< EcalRecHitWorkerBaseClass*(const edm::ParameterSet&) > EcalRecHitWorkerFactory;
> > +typedef edmplugin::PluginFactory< EcalRecHitWorkerBaseClass*(const edm::ParameterSet&, edm::ConsumesCollector& c) > EcalRecHitWorkerFactory;
> 
> This is what is causing the compilation failure seen by Martin. You must go through all code in CMSSW which inherits from EcalRecHitWorkerBaseClass and change it to use the new two argument constructor.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/cms-sw/cmssw/pull/698/files#r6129272
> 


Martin

--

Martin W. Gruenewald           e-mail: Martin.Grunewald@cern.ch
                        http://cern.ch/Martin.Grunewald