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/playlist_controls.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'src/wx/playlist_controls.cc')
| -rw-r--r-- | src/wx/playlist_controls.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/playlist_controls.cc b/src/wx/playlist_controls.cc index 56ff5f40d..d65cb0fcc 100644 --- a/src/wx/playlist_controls.cc +++ b/src/wx/playlist_controls.cc @@ -288,7 +288,7 @@ PlaylistControls::update_playlist_directory () } sort (_playlists.begin(), _playlists.end(), SPLComparator()); - BOOST_FOREACH (SPL i, _playlists) { + for (auto i: _playlists) { add_playlist_to_list (i); } @@ -349,7 +349,7 @@ PlaylistControls::select_playlist (int selected, int position) wxProgressDialog dialog (_("DCP-o-matic"), "Loading playlist and KDMs"); - BOOST_FOREACH (SPLEntry const & i, _playlists[selected].get()) { + for (auto const& i: _playlists[selected].get()) { dialog.Pulse (); shared_ptr<DCPContent> dcp = dynamic_pointer_cast<DCPContent> (i.content); if (dcp && dcp->needs_kdm()) { @@ -375,7 +375,7 @@ PlaylistControls::select_playlist (int selected, int position) _current_spl_view->DeleteAllItems (); int N = 0; - BOOST_FOREACH (SPLEntry i, _playlists[selected].get()) { + for (auto i: _playlists[selected].get()) { wxListItem it; it.SetId (N); it.SetColumn (0); |
