summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/LV2Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/LV2Node.cpp')
-rw-r--r--src/libs/engine/LV2Node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/LV2Node.cpp b/src/libs/engine/LV2Node.cpp
index de1e61ca..59d30c7e 100644
--- a/src/libs/engine/LV2Node.cpp
+++ b/src/libs/engine/LV2Node.cpp
@@ -79,13 +79,13 @@ LV2Node::prepare_poly(uint32_t poly)
_prepared_instances->at(i) = slv2_plugin_instantiate(
_lv2_plugin->slv2_plugin(), _srate, NULL);
- if ((*_prepared_instances)[i] == NULL) {
+ if (_prepared_instances->at(i) == NULL) {
cerr << "Failed to instantiate plugin!" << endl;
return false;
}
if (_activated)
- slv2_instance_activate((*_prepared_instances)[i]);
+ slv2_instance_activate(_prepared_instances->at(i));
}
return true;