Fix another C++11ism
This commit is contained in:
parent
883f818626
commit
ec64112fb9
@ -206,7 +206,7 @@ ALoudnessPresets::push_back (CLoudnessPreset const& clp)
|
|||||||
bool
|
bool
|
||||||
ALoudnessPresets::erase (CLoudnessPreset const& clp)
|
ALoudnessPresets::erase (CLoudnessPreset const& clp)
|
||||||
{
|
{
|
||||||
std::vector <ALoudnessPreset>::const_iterator i;
|
std::vector <ALoudnessPreset>::iterator i;
|
||||||
i = std::find (_p.begin (), _p.end(), clp);
|
i = std::find (_p.begin (), _p.end(), clp);
|
||||||
if (i == _p.end ()) {
|
if (i == _p.end ()) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user