13
0

Remove C++11ism

This commit is contained in:
Robin Gareus 2020-09-27 20:42:23 +02:00
parent 5cbc5cc52a
commit 37ec50cbf8
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1205,7 +1205,7 @@ VST3PI::connect (Vst::IConnectionPoint* other)
tresult
VST3PI::disconnect (Vst::IConnectionPoint* other)
{
std::vector <Vst::IConnectionPoint*>::const_iterator i = std::find (_connections.begin(), _connections.end(), other);
std::vector <Vst::IConnectionPoint*>::iterator i = std::find (_connections.begin(), _connections.end(), other);
if (i != _connections.end()) {
_connections.erase (i);
return kResultTrue;