Skip to content

Commit

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

[11_3_X] Fix missing LHERunInfo header bug
  • Loading branch information
cmsbuild committed May 26, 2021
2 parents 7430fca + 9596895 commit 84f3300
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,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 84f3300

Please sign in to comment.