Skip to content

Commit

Permalink
Alignment/OfflineValidation: replace use of templates deprecated by s…
Browse files Browse the repository at this point in the history
…td=cxx17
  • Loading branch information
gartung committed Sep 24, 2018
1 parent e1c469d commit a9118c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Alignment/OfflineValidation/plugins/EopTreeWriter.cc
Expand Up @@ -142,7 +142,7 @@ EopTreeWriter::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup)
// geo->getSubdetectorGeometry(DetId::Calo, CaloTowerDetId::SubdetId);

// temporary collection of EB+EE recHits
std::auto_ptr<EcalRecHitCollection> tmpEcalRecHitCollection(new EcalRecHitCollection);
std::unique_ptr<EcalRecHitCollection> tmpEcalRecHitCollection(new EcalRecHitCollection);
std::vector<edm::InputTag> ecalLabels_;

edm::Handle<EcalRecHitCollection> tmpEc;
Expand Down
Expand Up @@ -191,7 +191,7 @@ class TrackerOfflineValidation : public edm::EDAnalyzer {
template <typename T> TH1* make(const char* name,const char* title,int nBinX,double minBinX,double maxBinX,int nBinY,double minBinY,double maxBinY);
template <typename T> TH1* make(const char* name,const char* title,int nBinX,double minBinX,double maxBinX,double minBinY,double maxBinY); // at present not used

std::auto_ptr<TFileDirectory> tfd;
std::unique_ptr<TFileDirectory> tfd;
std::string directoryString;
const bool dqmMode;
DQMStore* theDbe;
Expand Down

0 comments on commit a9118c3

Please sign in to comment.