Skip to content

Commit

Permalink
Maybe less mutables is better
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jun 20, 2024
1 parent 5b1d147 commit b2ee8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ StatusCode MarlinProcessorWrapper::execute(const EventContext&) const {
m_processor->processEvent(the_event);
}

m_processor->setFirstEvent(false, marlin::ExternalProcessorMgrAccessor{this});
m_processor->setFirstEvent(false, marlin::ExternalProcessorMgrAccessor{const_cast<MarlinProcessorWrapper*>(this)});
}

// Handle exceptions that may come from Marlin
Expand Down

0 comments on commit b2ee8a5

Please sign in to comment.