summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 09:16:04 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 17:35:47 +0200
commit87ac5dcd0a2faa899aea238d3d24fc84407d1a62 (patch)
tree7171bc1a6e152ea1e0b8e7c38958065e1f0bb7fb /plugin
parent454cbddd4107c283b14f3e3c40fcb5e4d4644b6c (diff)
using const ref strings at input engine
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 2a7e556..1a9ee34 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -188,7 +188,7 @@ bool DrumGizmoPlugin::Input::init(Instruments &instruments)
return true;
}
-void DrumGizmoPlugin::Input::setParm(std::string parm, std::string value)
+void DrumGizmoPlugin::Input::setParm(const std::string& parm, const std::string& value)
{
}
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h
index 4a4ec13..2d5789e 100644
--- a/plugin/drumgizmo_plugin.h
+++ b/plugin/drumgizmo_plugin.h
@@ -110,7 +110,7 @@ private:
bool init(Instruments& instruments) 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;