summaryrefslogtreecommitdiff
path: root/vst/input_vst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'vst/input_vst.cc')
-rw-r--r--vst/input_vst.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vst/input_vst.cc b/vst/input_vst.cc
index 525c687..52015ad 100644
--- a/vst/input_vst.cc
+++ b/vst/input_vst.cc
@@ -45,7 +45,7 @@ bool InputVST::init(Instruments &instruments)
mmap.midimap = p.midimap;
for(size_t i = 0; i < instruments.size(); i++) {
- mmap.instrmap[instruments[i]->name()] = i;
+ mmap.instrmap[instruments[i].name()] = i;
}
return true;