From ed48758fb6cc71a08b160dafdc02a5b9e846b1ad Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 28 Jun 2023 13:38:08 -0600 Subject: [PATCH] NO-OP: add comment --- gtk2_ardour/streamview.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index a222be107d..1e42bd00fe 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -562,6 +562,8 @@ StreamView::set_selected_regionviews (RegionSelection& regions) selected = false; + /* Linear search: probably as good as anything else */ + for (RegionSelection::iterator ii = regions.begin(); ii != regions.end(); ++ii) { if (*i == *ii) { selected = true;