From 6069b13557ff6403812055d2e39be01cda85b06b Mon Sep 17 00:00:00 2001 From: Mircho Rodozov Date: Mon, 9 Oct 2017 12:13:25 +0200 Subject: [PATCH] Fix compilation warnings (ClassDef macro) --- Calibration/HcalCalibAlgos/src/TCell.h | 2 +- IOPool/TFileAdaptor/interface/TStorageFactorySystem.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Calibration/HcalCalibAlgos/src/TCell.h b/Calibration/HcalCalibAlgos/src/TCell.h index 1e10df6bc6495..edde139f47a94 100644 --- a/Calibration/HcalCalibAlgos/src/TCell.h +++ b/Calibration/HcalCalibAlgos/src/TCell.h @@ -30,7 +30,7 @@ class TCell : public TObject { void SetId(UInt_t i) { _id=i; } - ClassDef(TCell, 1); + ClassDefOverride(TCell, 1); }; #endif /* _TCELL_H */ diff --git a/IOPool/TFileAdaptor/interface/TStorageFactorySystem.h b/IOPool/TFileAdaptor/interface/TStorageFactorySystem.h index 891690b79593c..c5d12dc6c1d76 100644 --- a/IOPool/TFileAdaptor/interface/TStorageFactorySystem.h +++ b/IOPool/TFileAdaptor/interface/TStorageFactorySystem.h @@ -14,7 +14,7 @@ class TStorageFactorySystem : public TSystem void * GetDirPt(void) const { return fDirp; } public: - ClassDef(TStorageFactorySystem, 0); // ROOT System operating on CMS Storage. + ClassDefOverride(TStorageFactorySystem, 0); // ROOT System operating on CMS Storage. TStorageFactorySystem(const char *, Bool_t); // For compatibility with TXNetFile, we don't actually use the arguments TStorageFactorySystem(void);