BOOST_FOREACH.
[dcpomatic.git] / test / ffmpeg_encoder_test.cc
index 684a67cf5983be5bd4314fb2efa84754a057bba0..e43ea76e8c5693a7957d37480cac0960cd78e423 100644 (file)
@@ -303,7 +303,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_encoder_h264_test6)
        shared_ptr<Content> subs = content_factory("test/data/subrip.srt").front();
        film2->examine_and_add_content (subs);
        BOOST_REQUIRE (!wait_for_jobs());
-       BOOST_FOREACH (shared_ptr<TextContent> i, subs->text) {
+       for (auto i: subs->text) {
                i->set_use (true);
        }