From a5d004b0773f633401528392fc28e66d70e13ac8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Jan 2021 21:32:13 +0100 Subject: BOOST_FOREACH. --- src/lib/decoder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/decoder.cc') diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index a53118061..bf0bd1a26 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -60,7 +60,7 @@ Decoder::position () const which can cause bugs like #1581. */ if (!pos) { - BOOST_FOREACH (shared_ptr i, text) { + for (auto i: text) { if (!i->ignore() && (!pos || i->position(f) < *pos)) { pos = i->position(f); } @@ -79,7 +79,7 @@ Decoder::seek (ContentTime, bool) if (audio) { audio->seek (); } - BOOST_FOREACH (shared_ptr i, text) { + for (auto i: text) { i->seek (); } } -- cgit v1.2.3