X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fgain_calculator_dialog.cc;h=9c8b87dac42bd622df15700be21a9551ca8a567c;hb=df79d429bf1663a0053844b7e98690d2fdfb790d;hp=701856610a88145dd0b89a0ba982347a1ddcef48;hpb=e6c828cbd577239e7c8e4c532161084a33843a0f;p=dcpomatic.git diff --git a/src/wx/gain_calculator_dialog.cc b/src/wx/gain_calculator_dialog.cc index 701856610..9c8b87dac 100644 --- a/src/wx/gain_calculator_dialog.cc +++ b/src/wx/gain_calculator_dialog.cc @@ -37,7 +37,7 @@ GainCalculatorDialog::GainCalculatorDialog (wxWindow* parent) add (_("But I have to use fader"), true); _actual = add (new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, wxDefaultSize, 0, wxTextValidator (wxFILTER_NUMERIC))); - BOOST_FOREACH (CinemaSoundProcessor const * i, CinemaSoundProcessor::all()) { + for (auto i: CinemaSoundProcessor::all()) { _processor->Append (std_to_wx(i->name())); }