From 37ec50cbf829d0ac2ab6f34ca125dd0c6678f607 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 27 Sep 2020 20:42:23 +0200 Subject: [PATCH] Remove C++11ism --- libs/ardour/vst3_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index 2f455af865..70fe5a55e9 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1205,7 +1205,7 @@ VST3PI::connect (Vst::IConnectionPoint* other) tresult VST3PI::disconnect (Vst::IConnectionPoint* other) { - std::vector ::const_iterator i = std::find (_connections.begin(), _connections.end(), other); + std::vector ::iterator i = std::find (_connections.begin(), _connections.end(), other); if (i != _connections.end()) { _connections.erase (i); return kResultTrue;