diff options
-rw-r--r-- | src/libs/engine/NodeFactory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp index 24d32929..76f3e5fd 100644 --- a/src/libs/engine/NodeFactory.cpp +++ b/src/libs/engine/NodeFactory.cpp @@ -224,8 +224,9 @@ NodeFactory::load_lv2_plugins() SLV2Plugin lv2_plug = slv2_plugins_get_at(plugins, i); -#ifndef NDEBUG const string uri((const char*)slv2_plugin_get_uri(lv2_plug)); + +#ifndef NDEBUG assert(_plugins.find(uri) == _plugins.end()); #endif |