Skip to content

Commit

Permalink
implement revision comments
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobrivio committed Nov 16, 2021
1 parent 42014db commit dfbacef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CondFormats/PCLConfig/plugins/AlignPCLThresholdsWriter.cc
Expand Up @@ -65,7 +65,7 @@ AlignPCLThresholdsWriter::AlignPCLThresholdsWriter(const edm::ParameterSet& iCon
m_minNrecords(iConfig.getParameter<unsigned int>("minNRecords")),
m_parameters(iConfig.getParameter<std::vector<edm::ParameterSet> >("thresholds")) {
//now do what ever initialization is needed
AlignPCLThresholds myThresholds();
AlignPCLThresholds myThresholds{};
}

AlignPCLThresholdsWriter::~AlignPCLThresholdsWriter() {}
Expand Down
2 changes: 1 addition & 1 deletion HLTrigger/HLTcore/plugins/HLTPrescaleRecorder.cc
Expand Up @@ -235,7 +235,7 @@ void HLTPrescaleRecorder::endRun(edm::Run const& iRun, const edm::EventSetup& iS
::timeval tv;
gettimeofday(&tv, nullptr);
edm::Timestamp tstamp((unsigned long long)tv.tv_sec);
db_->writeOneIOV<HLTPrescaleTableCond>(product, tstamp.value(), "HLTPrescaleTableRcd");
db_->writeOneIOV(product, tstamp.value(), "HLTPrescaleTableRcd");
} else {
LogError("HLTPrescaleRecorder") << "PoolDBOutputService not available!";
}
Expand Down

0 comments on commit dfbacef

Please sign in to comment.