diff options
Diffstat (limited to 'src/engine/events/MidiLearnEvent.cpp')
-rw-r--r-- | src/engine/events/MidiLearnEvent.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/events/MidiLearnEvent.cpp b/src/engine/events/MidiLearnEvent.cpp index d098c59c..337acca3 100644 --- a/src/engine/events/MidiLearnEvent.cpp +++ b/src/engine/events/MidiLearnEvent.cpp @@ -24,6 +24,8 @@ #include "ClientBroadcaster.hpp" #include "PluginImpl.hpp" +using namespace std; + namespace Ingen { @@ -51,7 +53,7 @@ MidiLearnEvent::execute(ProcessContext& context) QueuedEvent::execute(context); if (_node != NULL) { - if (_node->plugin_impl()->type() == Plugin::Internal) { + if (_node->plugin_impl()->type() == Shared::Plugin::Internal) { ((NodeBase*)_node)->learn(); } else { _error = INVALID_NODE_TYPE; |