Skip to content

Commit

Permalink
Add Service::initialize in IOSvc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Apr 2, 2024
1 parent 3a6a0f7 commit 779b956
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k4FWCore/components/IOSvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
#include <tuple>

StatusCode IOSvc::initialize() {
StatusCode sc = Service::initialize();
if ( !sc.isSuccess() ) {
error() << "Unable to initialize base class Service." << endmsg;
return sc;
}
if (!m_readingFileNames.empty()) {
m_reader = std::make_unique<podio::ROOTReader>();
try {
Expand Down

0 comments on commit 779b956

Please sign in to comment.