summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-20 17:16:28 +0000
committerDavid Robillard <d@drobilla.net>2013-01-20 17:16:28 +0000
commitfd9335135eeee6da2408a94adf522494e6071339 (patch)
treecd47afc693ebc6feacfb261a252698efbdced937 /src
parente1d2f20eb69be76df4c76daa444da9d378185746 (diff)
downloadingen-fd9335135eeee6da2408a94adf522494e6071339.tar.gz
ingen-fd9335135eeee6da2408a94adf522494e6071339.tar.bz2
ingen-fd9335135eeee6da2408a94adf522494e6071339.zip
Fix support for LV2 features.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4998 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/LV2Features.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/LV2Features.cpp b/src/LV2Features.cpp
index 3941d92c..d53c5679 100644
--- a/src/LV2Features.cpp
+++ b/src/LV2Features.cpp
@@ -50,6 +50,11 @@ LV2Features::FeatureArray::~FeatureArray()
bool
LV2Features::is_supported(const std::string& uri) const
{
+ for (const auto& f : _features) {
+ if (f->uri() == uri) {
+ return true;
+ }
+ }
return false;
}