From 47f13051fd842fb9726bb782e0bedf62683cc9d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 12 Oct 2007 00:39:44 +0000 Subject: Fix broken compilation w/o --enable-debug git-svn-id: http://svn.drobilla.net/lad/ingen@877 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/NodeFactory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1