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 /test/dcp_subtitle_test.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'test/dcp_subtitle_test.cc')
| -rw-r--r-- | test/dcp_subtitle_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_subtitle_test.cc b/test/dcp_subtitle_test.cc index a3ef673fe..025d33c6a 100644 --- a/test/dcp_subtitle_test.cc +++ b/test/dcp_subtitle_test.cc @@ -55,7 +55,7 @@ store (ContentStringText sub) if (!stored) { stored = sub; } else { - BOOST_FOREACH (dcp::SubtitleString i, sub.subs) { + for (auto i: sub.subs) { stored->subs.push_back (i); } } @@ -190,7 +190,7 @@ static void check_font_tags (list<cxml::NodePtr> nodes) { - BOOST_FOREACH (cxml::NodePtr i, nodes) { + for (auto i: nodes) { if (i->name() == "Font") { BOOST_CHECK (!i->optional_string_attribute("Id") || i->string_attribute("Id") != ""); } |
