X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fmove_to_dialog.cc;h=542655477381eed773be38cd6440a3f08ee8df1b;hp=266f44264c97f33e966ae6d3e68224f9f34a1aa4;hb=a5d004b0773f633401528392fc28e66d70e13ac8;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566 diff --git a/src/wx/move_to_dialog.cc b/src/wx/move_to_dialog.cc index 266f44264..542655477 100644 --- a/src/wx/move_to_dialog.cc +++ b/src/wx/move_to_dialog.cc @@ -21,10 +21,9 @@ #include "move_to_dialog.h" #include "lib/film.h" #include -#include 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 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); }