X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftimeline_content_view.cc;fp=src%2Fwx%2Ftimeline_content_view.cc;h=8258a81f97a5bfd6dd37e8485a3a5b2cef29ba71;hp=2f2b7e3ed3bf907d9a8433c6709112c52dedd4e4;hb=a5d004b0773f633401528392fc28e66d70e13ac8;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 diff --git a/src/wx/timeline_content_view.cc b/src/wx/timeline_content_view.cc index 2f2b7e3ed..8258a81f9 100644 --- a/src/wx/timeline_content_view.cc +++ b/src/wx/timeline_content_view.cc @@ -23,7 +23,6 @@ #include "wx_util.h" #include "lib/content.h" #include -#include using std::list; using std::shared_ptr; @@ -131,7 +130,7 @@ TimelineContentView::do_paint (wxGraphicsContext* gc, list /* Reel split points */ gc->SetPen (*wxThePenList->FindOrCreatePen (foreground_colour(), 1, wxPENSTYLE_DOT)); - BOOST_FOREACH (DCPTime i, cont->reel_split_points(film)) { + for (auto i: cont->reel_split_points(film)) { path = gc->CreatePath (); path.MoveToPoint (time_x (i), y_pos (_track.get()) + 4); path.AddLineToPoint (time_x (i), y_pos (_track.get() + 1) - 4);