diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-09 20:41:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-11 12:22:11 +0200 |
| commit | b1e22dff981fb86ae04b12bb5a064e61030793a8 (patch) | |
| tree | ffb112f6e3f3311d8669f6a89628bf5f0bc40f2e /test/empty_caption_test.cc | |
| parent | 736d6bf3242a0ba3841cb765e97cf9fee3540460 (diff) | |
Use a vector rather than a list when returning from content_factory().
Diffstat (limited to 'test/empty_caption_test.cc')
| -rw-r--r-- | test/empty_caption_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/empty_caption_test.cc b/test/empty_caption_test.cc index 83f5cce5e..f0449a3ce 100644 --- a/test/empty_caption_test.cc +++ b/test/empty_caption_test.cc @@ -29,9 +29,9 @@ BOOST_AUTO_TEST_CASE (check_for_no_empty_text_nodes_in_failure_case) { - auto content = content_factory("test/data/empty.srt").front(); - auto film = new_test_film2 ("check_for_no_empty_text_nodes_in_failure_case", {content}); - auto text = content->text.front(); + auto content = content_factory("test/data/empty.srt"); + auto film = new_test_film2 ("check_for_no_empty_text_nodes_in_failure_case", content); + auto text = content[0]->text.front(); text->set_type (TextType::CLOSED_CAPTION); text->set_dcp_track({"English", dcp::LanguageTag("en-GB")}); |
