From 0140b5e2d98cd2390086369da3455e776da9b842 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Sun, 9 Jul 2023 16:00:37 +0200 Subject: [PATCH] Update --- k4ProjectTemplate/src/components/ExampleConsumer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/k4ProjectTemplate/src/components/ExampleConsumer.cpp b/k4ProjectTemplate/src/components/ExampleConsumer.cpp index 4187d9e..ceb7e3b 100644 --- a/k4ProjectTemplate/src/components/ExampleConsumer.cpp +++ b/k4ProjectTemplate/src/components/ExampleConsumer.cpp @@ -6,13 +6,13 @@ using BaseClass_t = Gaudi::Functional::Traits::BaseClass_t; -struct ExampleConsumer final : Gaudi::Functional::Consumer { +struct ExampleConsumer final : Gaudi::Functional::Consumer { ExampleConsumer( const std::string& name, ISvcLocator* svcLoc ) : Consumer( name, svcLoc, KeyValue( "InputLocation", "/ExampleInt" ) ) {} - void operator()() const override { - info() << "ExampleInt = " << m_exampleInt << endmsg; + void operator()(const int& input) const override { + info() << "ExampleInt = " << input << endmsg; } Gaudi::Property m_outputLocation{this, "InputLocation", "/ExampleInt",