Skip to content

Commit 144b804

Browse files
committed
Fixed incorrect type caught by PR feedback
1 parent 2259392 commit 144b804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FWCore/Framework/src/ProductResolvers.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ namespace edm {
982982
bool expected = false;
983983
if (skippingPrefetchRequested_.compare_exchange_strong(expected, true)) {
984984
bool producesInCurrentProcess = principal.productLookup().producesInCurrentProcess() and skipCurrentProcess;
985-
bool startIndex = producesInCurrentProcess ? true : false;
985+
auto startIndex = producesInCurrentProcess ? 1U : 0U;
986986
//we are the first thread to request
987987
tryPrefetchResolverAsync(startIndex, principal, true, sra, mcc, token, waitTask.group());
988988
}

0 commit comments

Comments
 (0)