summaryrefslogtreecommitdiff
path: root/vst/input_vst.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-12 16:30:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-12 16:30:07 +0100
commite436e02f164977bb41f2740b5ad59fc89a1a1490 (patch)
tree9d6af74cea03c0e07d06e93e716802d3741c7cb3 /vst/input_vst.cc
parentd63ef52cfd1ca1867542471c3fce4ff5e47b1916 (diff)
Changed instrument list to containing pointers.
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 52015ad..525c687 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;