Skip to content

Commit

Permalink
Fixes to templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pbosetti committed Jul 22, 2024
1 parent 056810b commit 6b8e3a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugin/template_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PluginClassName : public Filter<json, json> {
string kind() override { return PLUGIN_NAME; }

// Implement the actual functionality here
return_type load_data(json const &input) override {
return_type load_data(json const &input, string topic = "") override {
// Do something with the input data
return return_type::success;
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/template_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PluginClassName : public Sink<json> {
string kind() override { return PLUGIN_NAME; }

// Implement the actual functionality here
return_type load_data(json const &input) override {
return_type load_data(json const &input, string topic = "") override {
// Do something with the input data
return return_type::success;
}
Expand Down

0 comments on commit 6b8e3a6

Please sign in to comment.