From e8b37a3c47580a9e2fa7850b6defd2b5b97530d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Tue, 29 Mar 2016 09:37:45 +0200 Subject: using const ref strings at output engine --- 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 1a9ee34..4e3252d 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -246,7 +246,7 @@ bool DrumGizmoPlugin::Output::init(Channels channels) return true; } -void DrumGizmoPlugin::Output::setParm(std::string parm, std::string value) +void DrumGizmoPlugin::Output::setParm(const std::string& parm, const std::string& value) { } diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h index 2d5789e..bd970f1 100644 --- a/plugin/drumgizmo_plugin.h +++ b/plugin/drumgizmo_plugin.h @@ -132,7 +132,7 @@ private: bool init(Channels channels) override; - void setParm(std::string parm, std::string value) override; + void setParm(const std::string& parm, const std::string& value) override; bool start() override; void stop() override; -- cgit v1.2.3