From fd9335135eeee6da2408a94adf522494e6071339 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 20 Jan 2013 17:16:28 +0000 Subject: Fix support for LV2 features. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4998 a436a847-0d15-0410-975c-d299462d15a1 --- src/LV2Features.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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; } -- cgit v1.2.1