summaryrefslogtreecommitdiff
path: root/drumgizmo/input/test.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2016-04-03 13:37:21 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2016-04-03 13:37:21 +0200
commite6c35b1b336fd4d48fb4a87f3ae39372bc906acc (patch)
tree63a88819f9aca8e455ffb54e7021dcad25e51da5 /drumgizmo/input/test.cc
parent915efdcda8f5c26e1f173bd0f52cbc59aa337a03 (diff)
Updated method signature in regard to const and reference.
Diffstat (limited to 'drumgizmo/input/test.cc')
-rw-r--r--drumgizmo/input/test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/drumgizmo/input/test.cc b/drumgizmo/input/test.cc
index a611256..1315c46 100644
--- a/drumgizmo/input/test.cc
+++ b/drumgizmo/input/test.cc
@@ -42,12 +42,12 @@ TestInputEngine::~TestInputEngine()
{
}
-bool TestInputEngine::init(Instruments& instruments)
+bool TestInputEngine::init(const Instruments& instruments)
{
return true;
}
-void TestInputEngine::setParm(std::string parm, std::string value)
+void TestInputEngine::setParm(const std::string& parm, const std::string& value)
{
/*
if(parm == "probability")