diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:32:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 23:27:56 +0100 |
| commit | a5d004b0773f633401528392fc28e66d70e13ac8 (patch) | |
| tree | 9f83ff2ab353f5a63918210d4930d0ead228375e /src/wx/film_name_location_dialog.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'src/wx/film_name_location_dialog.cc')
| -rw-r--r-- | src/wx/film_name_location_dialog.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/film_name_location_dialog.cc b/src/wx/film_name_location_dialog.cc index 2c9b165d0..2ef6c9955 100644 --- a/src/wx/film_name_location_dialog.cc +++ b/src/wx/film_name_location_dialog.cc @@ -28,7 +28,6 @@ #include "lib/compose.hpp" #include <wx/stdpaths.h> #include <boost/filesystem.hpp> -#include <boost/foreach.hpp> using namespace std; using namespace boost; @@ -68,7 +67,7 @@ FilmNameLocationDialog::FilmNameLocationDialog (wxWindow* parent, wxString title if (offer_templates) { _template_name->Enable (false); - BOOST_FOREACH (string i, Config::instance()->templates ()) { + for (auto i: Config::instance()->templates ()) { _template_name->Append (std_to_wx (i)); } |
