summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/NodeFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-12 00:39:44 +0000
committerDavid Robillard <d@drobilla.net>2007-10-12 00:39:44 +0000
commit47f13051fd842fb9726bb782e0bedf62683cc9d8 (patch)
tree25216ce7307a3c9755d7733102ba981611258227 /src/libs/engine/NodeFactory.cpp
parent5791d19a0f56c65ef7b89da80f4bcc3e1cee0c93 (diff)
downloadingen-47f13051fd842fb9726bb782e0bedf62683cc9d8.tar.gz
ingen-47f13051fd842fb9726bb782e0bedf62683cc9d8.tar.bz2
ingen-47f13051fd842fb9726bb782e0bedf62683cc9d8.zip
Fix broken compilation w/o --enable-debug
git-svn-id: http://svn.drobilla.net/lad/ingen@877 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/NodeFactory.cpp')
-rw-r--r--src/libs/engine/NodeFactory.cpp3
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