summaryrefslogtreecommitdiffstats
path: root/src/LV2Features.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/LV2Features.cpp')
-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;
}