Use a vector rather than a list when returning from content_factory().
[dcpomatic.git] / test / dcp_metadata_test.cc
index 67d170020c33b184b0284298997fe0c44999d7d2..8d410e13dcecd7bb70d5286e076d2b04c37fc051 100644 (file)
@@ -30,8 +30,8 @@
 
 BOOST_AUTO_TEST_CASE (dcp_metadata_test)
 {
-       auto content = content_factory("test/data/flat_red.png").front();
-       auto film = new_test_film2 ("dcp_metadata_test", { content });
+       auto content = content_factory("test/data/flat_red.png");
+       auto film = new_test_film2 ("dcp_metadata_test", content);
 
        Config::instance()->set_dcp_creator ("this is the creator");
        Config::instance()->set_dcp_issuer ("this is the issuer");