summaryrefslogtreecommitdiffstats
path: root/src/LV2Features.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/LV2Features.cpp')
-rw-r--r--src/LV2Features.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LV2Features.cpp b/src/LV2Features.cpp
index 612cd9f7..a7069a75 100644
--- a/src/LV2Features.cpp
+++ b/src/LV2Features.cpp
@@ -57,8 +57,8 @@ SharedPtr<LV2Features::FeatureArray>
LV2Features::lv2_features(World* world, Node* node) const
{
FeatureArray::FeatureVector vec;
- for (Features::const_iterator f = _features.begin(); f != _features.end(); ++f) {
- SharedPtr<LV2_Feature> fptr = (*f)->feature(world, node);
+ for (const auto& f : _features) {
+ SharedPtr<LV2_Feature> fptr = f->feature(world, node);
if (fptr) {
vec.push_back(fptr);
}