BOOST_FOREACH.
[dcpomatic.git] / src / wx / film_viewer.cc
index cc25ccdd5fbbd152f74d9ff6fecf087bcbb2a08f..6e5b486d59ac59d75d60076835c469f3dee03dbd 100644 (file)
@@ -463,7 +463,7 @@ FilmViewer::set_coalesce_player_changes (bool c)
        _coalesce_player_changes = c;
 
        if (!c) {
-               BOOST_FOREACH (int i, _pending_player_changes) {
+               for (auto i: _pending_player_changes) {
                        player_change (CHANGE_TYPE_DONE, i, false);
                }
                _pending_player_changes.clear ();
@@ -622,7 +622,7 @@ FilmViewer::average_latency () const
         }
 
         Frame total = 0;
-        BOOST_FOREACH (Frame i, _latency_history) {
+        for (auto i: _latency_history) {
                 total += i;
         }