Use strcoll() to compare cinemas/screens in the KDM dialog (#1904).
[dcpomatic.git] / src / wx / timeline_reels_view.cc
index f09a52a53b7724e5bec35514bc3d709c93fb55f3..962451ac367b228e2d63ac9062afc430c45d7dce 100644 (file)
 #include "timeline.h"
 #include <wx/wx.h>
 #include <wx/graphics.h>
-#include <boost/foreach.hpp>
 
 using std::min;
 using std::list;
+using namespace dcpomatic;
 
 TimelineReelsView::TimelineReelsView (Timeline& tl, int y)
        : TimelineView (tl)
@@ -66,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 ();