From 53909b3a74e9c752d3405fda7bc63146b9abdc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Tue, 29 Mar 2016 10:02:10 +0200 Subject: pass channels to output engine by const ref --- plugin/drumgizmo_plugin.cc | 2 +- plugin/drumgizmo_plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') 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; -- cgit v1.2.3