13
0

Yet another C++11ism

This commit is contained in:
Robin Gareus 2021-01-30 23:23:35 +01:00
parent 9c2bb240af
commit e511ee968e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -608,7 +608,7 @@ IOButton::maybe_add_bundle_to_menu (boost::shared_ptr<Bundle> b, ARDOUR::BundleL
}
/* Avoid adding duplicates */
list<boost::shared_ptr<Bundle>>::iterator i = _menu_bundles.begin ();
list<boost::shared_ptr<Bundle> >::iterator i = _menu_bundles.begin ();
while (i != _menu_bundles.end () && b->has_same_ports (*i) == false) {
++i;
}