From b2ee8a5cbda52f50e1e2a8fb624d1b65f69dad35 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 23 Jan 2024 22:23:04 +0100 Subject: [PATCH] Maybe less mutables is better --- k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp b/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp index 9343ff3d..645385e0 100644 --- a/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp +++ b/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp @@ -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(this)}); } // Handle exceptions that may come from Marlin