Skip to content

Commit

Permalink
Merge pull request #1617 from fwyzard/fix_for_pull1575
Browse files Browse the repository at this point in the history
Multithreaded framework -- Fix InputSource after automatic merging of #1575 in the THREADED branch
  • Loading branch information
ktf committed Nov 28, 2013
2 parents 59ce512 + dc65496 commit 8ef51fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FWCore/Framework/src/InputSource.cc
Expand Up @@ -17,6 +17,7 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
#include "FWCore/ServiceRegistry/interface/StreamContext.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Utilities/interface/do_nothing_deleter.h"
Expand Down Expand Up @@ -259,7 +260,6 @@ namespace edm {
return nullptr;
}


void
InputSource::registerProducts() {
if(!typeLabelList().empty()) {
Expand Down Expand Up @@ -367,6 +367,7 @@ namespace edm {
//result = callWithTryCatchAndPrint<bool>( [this,&eventID,&ep](){ return readIt(eventID, ep); }, "Calling InputSource::readIt" );
result = readIt(eventID, ep, streamContext);

if (result) {
if(remainingEvents_ > 0) --remainingEvents_;
++readCount_;
issueReports(ep.id());
Expand Down

0 comments on commit 8ef51fb

Please sign in to comment.