diff options
author | David Robillard <d@drobilla.net> | 2013-01-20 17:16:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-20 17:16:28 +0000 |
commit | fd9335135eeee6da2408a94adf522494e6071339 (patch) | |
tree | cd47afc693ebc6feacfb261a252698efbdced937 /src | |
parent | e1d2f20eb69be76df4c76daa444da9d378185746 (diff) | |
download | ingen-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.cpp | 5 |
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; } |