Use a vector rather than a list when returning from content_factory().
[dcpomatic.git] / test / file_naming_test.cc
index 4f6d66fe6da7743f104e0d9f0731bae435c55ac2..069b1d825dea998af1a69ca5f6453688b0035a88 100644 (file)
@@ -180,7 +180,7 @@ BOOST_AUTO_TEST_CASE (subtitle_file_naming)
        Config::instance()->set_dcp_asset_filename_format(dcp::NameFormat("%t ostrabagalous %c"));
 
        auto content = content_factory("test/data/15s.srt");
-       auto film = new_test_film2("subtitle_file_naming", { content.front() });
+       auto film = new_test_film2("subtitle_file_naming", content);
        film->set_interop(false);
 
        make_and_verify_dcp (