diff options
Diffstat (limited to 'drumgizmo/input/midifile.cc')
-rw-r--r-- | drumgizmo/input/midifile.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drumgizmo/input/midifile.cc b/drumgizmo/input/midifile.cc index 5fc1a42..76dff12 100644 --- a/drumgizmo/input/midifile.cc +++ b/drumgizmo/input/midifile.cc @@ -52,7 +52,7 @@ MidifileInputEngine::~MidifileInputEngine() } } -bool MidifileInputEngine::init(Instruments& instruments) +bool MidifileInputEngine::init(const Instruments& instruments) { if(file == "") { @@ -80,7 +80,7 @@ bool MidifileInputEngine::init(Instruments& instruments) return true; } -void MidifileInputEngine::setParm(std::string parm, std::string value) +void MidifileInputEngine::setParm(const std::string& parm, const std::string& value) { if(parm == "file") { |