projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BOOST_FOREACH.
[dcpomatic.git]
/
src
/
wx
/
timeline_reels_view.cc
diff --git
a/src/wx/timeline_reels_view.cc
b/src/wx/timeline_reels_view.cc
index fa89c60a7c82fdf7cda862d87856a83ad8b87b3c..962451ac367b228e2d63ac9062afc430c45d7dce 100644
(file)
--- a/
src/wx/timeline_reels_view.cc
+++ b/
src/wx/timeline_reels_view.cc
@@
-22,7
+22,6
@@
#include "timeline.h"
#include <wx/wx.h>
#include <wx/graphics.h>
#include "timeline.h"
#include <wx/wx.h>
#include <wx/graphics.h>
-#include <boost/foreach.hpp>
using std::min;
using std::list;
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;
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 ();
int const size = min (8.0, i.duration().seconds() * pps / 2);
wxGraphicsPath path = gc->CreatePath ();