summaryrefslogtreecommitdiff
path: root/drumgizmo/input/jackmidi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/input/jackmidi.cc')
-rw-r--r--drumgizmo/input/jackmidi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/drumgizmo/input/jackmidi.cc b/drumgizmo/input/jackmidi.cc
index ff2f030..73098c5 100644
--- a/drumgizmo/input/jackmidi.cc
+++ b/drumgizmo/input/jackmidi.cc
@@ -48,7 +48,7 @@ JackMidiInputEngine::~JackMidiInputEngine()
client.remove(*this);
}
-bool JackMidiInputEngine::init(Instruments& instruments)
+bool JackMidiInputEngine::init(const Instruments& instruments)
{
if(!loadMidiMap(midimap, instruments))
{
@@ -62,7 +62,7 @@ bool JackMidiInputEngine::init(Instruments& instruments)
return true;
}
-void JackMidiInputEngine::setParm(std::string parm, std::string value)
+void JackMidiInputEngine::setParm(const std::string& parm, const std::string& value)
{
if(parm == "midimap")
{