Remove C++11ism
This commit is contained in:
parent
5cbc5cc52a
commit
37ec50cbf8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user