summaryrefslogtreecommitdiff
path: root/src/wx/move_to_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-04 21:32:13 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-07 23:27:56 +0100
commita5d004b0773f633401528392fc28e66d70e13ac8 (patch)
tree9f83ff2ab353f5a63918210d4930d0ead228375e /src/wx/move_to_dialog.cc
parentdd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff)
BOOST_FOREACH.
Diffstat (limited to 'src/wx/move_to_dialog.cc')
-rw-r--r--src/wx/move_to_dialog.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/move_to_dialog.cc b/src/wx/move_to_dialog.cc
index b4b6e3ae3..542655477 100644
--- a/src/wx/move_to_dialog.cc
+++ b/src/wx/move_to_dialog.cc
@@ -21,7 +21,6 @@
#include "move_to_dialog.h"
#include "lib/film.h"
#include <wx/spinctrl.h>
-#include <boost/foreach.hpp>
using std::list;
using std::shared_ptr;
@@ -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);
}