BOOST_FOREACH.
[dcpomatic.git] / src / wx / timeline_reels_view.cc
index fa89c60a7c82fdf7cda862d87856a83ad8b87b3c..962451ac367b228e2d63ac9062afc430c45d7dce 100644 (file)
@@ -22,7 +22,6 @@
 #include "timeline.h"
 #include <wx/wx.h>
 #include <wx/graphics.h>
-#include <boost/foreach.hpp>
 
 using std::min;
 using std::list;
@@ -67,7 +66,7 @@ TimelineReelsView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> >)
        gc->SetFont (gc->CreateFont (*wxNORMAL_FONT, wxColour (0, 0, 255)));
 
        int reel = 1;
-       BOOST_FOREACH (DCPTimePeriod i, _timeline.film()->reels()) {
+       for (auto i: _timeline.film()->reels()) {
                int const size = min (8.0, i.duration().seconds() * pps / 2);
 
                wxGraphicsPath path = gc->CreatePath ();