13
0

Fix another C++11ism

This commit is contained in:
Robin Gareus 2021-04-13 06:16:01 +02:00
parent 883f818626
commit ec64112fb9
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;