Skip to content

Commit

Permalink
Removed unused variables from lamda capture
Browse files Browse the repository at this point in the history
These were found by clang.
  • Loading branch information
Dr15Jones committed Jul 6, 2021
1 parent 6e0de14 commit e215194
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FWCore/Framework/src/EventProcessor.cc
Expand Up @@ -1558,9 +1558,9 @@ namespace edm {
});

if (looper_) {
auto prefetchLooperTask = edm::make_waiting_task(
[this, nextTask = WaitingTaskHolder(taskGroup, finalTaskForThisLumi), &lp, &es, &taskGroup](
std::exception_ptr const* iPtr) mutable {
auto prefetchLooperTask =
edm::make_waiting_task([this, nextTask = WaitingTaskHolder(taskGroup, finalTaskForThisLumi), &lp, &es](
std::exception_ptr const* iPtr) mutable {
if (iPtr) {
handleEndLumiExceptions(iPtr, nextTask);
} else {
Expand Down Expand Up @@ -1967,7 +1967,7 @@ namespace edm {
}

WaitingTaskHolder finalizeEventTask(*iHolder.group(),
make_waiting_task([this, pep, iHolder](std::exception_ptr const* iPtr) mutable {
make_waiting_task([pep, iHolder](std::exception_ptr const* iPtr) mutable {
FDEBUG(1) << "\tprocessEvent\n";
pep->clearEventPrincipal();
if (iPtr) {
Expand Down

0 comments on commit e215194

Please sign in to comment.