diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:32:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 23:27:56 +0100 |
| commit | a5d004b0773f633401528392fc28e66d70e13ac8 (patch) | |
| tree | 9f83ff2ab353f5a63918210d4930d0ead228375e /src/lib/overlaps.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'src/lib/overlaps.cc')
| -rw-r--r-- | src/lib/overlaps.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/overlaps.cc b/src/lib/overlaps.cc index f5ccd48d0..32801de39 100644 --- a/src/lib/overlaps.cc +++ b/src/lib/overlaps.cc @@ -21,7 +21,6 @@ #include "overlaps.h" #include "types.h" #include "content.h" -#include <boost/foreach.hpp> using std::shared_ptr; using boost::function; @@ -31,7 +30,7 @@ ContentList overlaps (shared_ptr<const Film> film, ContentList cl, function<bool { ContentList overlaps; DCPTimePeriod period (from, to); - BOOST_FOREACH (shared_ptr<Content> i, cl) { + for (auto i: cl) { if (part(i) && DCPTimePeriod(i->position(), i->end(film)).overlap(period)) { overlaps.push_back (i); } |
