Use a vector rather than a list when returning from content_factory().
[dcpomatic.git] / test / find_missing_test.cc
index b235818101f2b38046a27a2fa969190c2a814a9b..3e64bede4c50aebe221da239a0a3860d7a4db027 100644 (file)
@@ -49,9 +49,9 @@ BOOST_AUTO_TEST_CASE (find_missing_test_with_single_files)
 
        /* Make a film with that content */
        auto film = new_test_film2 (name + "_film", {
-               content_factory(content_dir / "A.png").front(),
-               content_factory(content_dir / "B.png").front(),
-               content_factory(content_dir / "C.png").front()
+               content_factory(content_dir / "A.png")[0],
+               content_factory(content_dir / "B.png")[0],
+               content_factory(content_dir / "C.png")[0]
                });
        film->write_metadata ();