Skip to content

Commit

Permalink
Merge pull request #33831 from colizz/dev-120X-fixMissingLHERunInfoHe…
Browse files Browse the repository at this point in the history
…ader

Fix missing LHERunInfo header bug
  • Loading branch information
cmsbuild authored May 26, 2021
2 parents c0cf2f6 + b18c529 commit e2c5553
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,10 @@ std::unique_ptr<LHERunInfoProduct> ExternalLHEProducer::generateRunInfo(std::vec

std::for_each(runInfo->getHeaders().begin(),
runInfo->getHeaders().end(),
std::bind(&LHERunInfoProduct::addHeader, product, std::placeholders::_1));
std::bind(&LHERunInfoProduct::addHeader, &product, std::placeholders::_1));
std::for_each(runInfo->getComments().begin(),
runInfo->getComments().end(),
std::bind(&LHERunInfoProduct::addComment, product, std::placeholders::_1));
std::bind(&LHERunInfoProduct::addComment, &product, std::placeholders::_1));
if (not retValue) {
retValue = std::make_unique<LHERunInfoProduct>(std::move(product));
} else {
Expand Down

0 comments on commit e2c5553

Please sign in to comment.