summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 10:02:10 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 17:35:47 +0200
commit53909b3a74e9c752d3405fda7bc63146b9abdc7a (patch)
tree9f95c3666b5209021cb4d5a076693e1290a56be6 /plugin
parent9a61e61db6d811c32a25beec8c34e790170662e0 (diff)
pass channels to output engine by const ref
Diffstat (limited to 'plugin')
-rw-r--r--plugin/drumgizmo_plugin.cc2
-rw-r--r--plugin/drumgizmo_plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index f1cebd3..b41879d 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -241,7 +241,7 @@ DrumGizmoPlugin::Output::Output(DrumGizmoPlugin& plugin)
{
}
-bool DrumGizmoPlugin::Output::init(Channels channels)
+bool DrumGizmoPlugin::Output::init(const Channels& channels)
{
return true;
}
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h
index 767060c..8cddef6 100644
--- a/plugin/drumgizmo_plugin.h
+++ b/plugin/drumgizmo_plugin.h
@@ -130,7 +130,7 @@ private:
public:
Output(DrumGizmoPlugin& plugin);
- bool init(Channels channels) override;
+ bool init(const Channels& channels) override;
void setParm(const std::string& parm, const std::string& value) override;