Skip to content

Commit

Permalink
Merge pull request #25553 from Dr15Jones/clangHLTriggerHLTcore
Browse files Browse the repository at this point in the history
Removed std::move from HLTConfigData to allow better compiler optimization
  • Loading branch information
cmsbuild committed Jan 8, 2019
2 parents 5c8de5c + f1cfcf5 commit 6e57f4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HLTrigger/HLTcore/src/HLTConfigData.cc
Expand Up @@ -18,7 +18,7 @@
static const edm::ParameterSet initializeDummyPSet() {
edm::ParameterSet dummy;
dummy.registerIt();
return std::move(dummy);
return dummy;
}

static const edm::ParameterSet* s_dummyPSet()
Expand Down Expand Up @@ -216,7 +216,7 @@ void HLTConfigData::extract()
} else if ( processPSet_->existsAs<ParameterSet>(preT,true)) {
prescaleName=preT;
}
if (prescaleName=="") {
if (prescaleName.empty()) {
hltPrescaleTable_=HLTPrescaleTable();
} else {
const ParameterSet& iPS(processPSet_->getParameterSet(prescaleName));
Expand Down

0 comments on commit 6e57f4e

Please sign in to comment.