BOOST_FOREACH.
[dcpomatic.git] / src / wx / move_to_dialog.cc
index 266f44264c97f33e966ae6d3e68224f9f34a1aa4..542655477381eed773be38cd6440a3f08ee8df1b 100644 (file)
 #include "move_to_dialog.h"
 #include "lib/film.h"
 #include <wx/spinctrl.h>
-#include <boost/foreach.hpp>
 
 using std::list;
-using boost::shared_ptr;
+using std::shared_ptr;
 using boost::optional;
 using namespace dcpomatic;
 
@@ -41,7 +40,7 @@ MoveToDialog::MoveToDialog (wxWindow* parent, optional<DCPTime> position, shared
 
        if (position) {
                int j = 0;
-               BOOST_FOREACH (DCPTimePeriod i, film->reels()) {
+               for (auto i: film->reels()) {
                        if (i.from == position.get()) {
                                _reel->SetValue (j + 1);
                        }