Skip to content

Commit

Permalink
Remove use of boost::mpl::vector for dependent records
Browse files Browse the repository at this point in the history
Update dependent records declarations to use edm::mpl::Vector instead of boost::mpl::vector, following cms-sw#30874.
  • Loading branch information
fwyzard committed Jul 31, 2020
1 parent c975a28 commit 5636b6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
#ifndef CalibTracker_Records_SiPixelGainCalibrationForHLTGPURcd_h
#define CalibTracker_Records_SiPixelGainCalibrationForHLTGPURcd_h

#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"
#include "FWCore/Framework/interface/DependentRecordImplementation.h"

#include "CondFormats/DataRecord/interface/SiPixelGainCalibrationForHLTRcd.h"
#include "FWCore/Framework/interface/DependentRecordImplementation.h"
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"

#include "boost/mpl/vector.hpp"

class SiPixelGainCalibrationForHLTGPURcd
: public edm::eventsetup::DependentRecordImplementation<
SiPixelGainCalibrationForHLTGPURcd,
boost::mpl::vector<SiPixelGainCalibrationForHLTRcd, TrackerDigiGeometryRecord> > {};
edm::mpl::Vector<SiPixelGainCalibrationForHLTRcd, TrackerDigiGeometryRecord>> {};

#endif
#endif // CalibTracker_Records_SiPixelGainCalibrationForHLTGPURcd_h
2 changes: 1 addition & 1 deletion RecoLocalCalo/HcalRecAlgos/interface/HcalCombinedRecord.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

template <typename... Sources>
class HcalCombinedRecord : public edm::eventsetup::DependentRecordImplementation<HcalCombinedRecord<Sources...>,
boost::mpl::vector<Sources...>> {
edm::mpl::Vector<Sources...>> {
public:
using DependencyRecords = std::tuple<Sources...>;
};
Expand Down

0 comments on commit 5636b6b

Please sign in to comment.