Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jul 9, 2023
1 parent d3ae3c0 commit 0140b5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions k4ProjectTemplate/src/components/ExampleConsumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

using BaseClass_t = Gaudi::Functional::Traits::BaseClass_t<Gaudi::Algorithm>;

struct ExampleConsumer final : Gaudi::Functional::Consumer<int(), BaseClass_t> {
struct ExampleConsumer final : Gaudi::Functional::Consumer<void( const int& ), BaseClass_t> {

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<std::string> m_outputLocation{this, "InputLocation", "/ExampleInt",
Expand Down

0 comments on commit 0140b5e

Please sign in to comment.