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/butler_test.cc | |
| parent | 736d6bf3242a0ba3841cb765e97cf9fee3540460 (diff) | |
Use a vector rather than a list when returning from content_factory().
Diffstat (limited to 'test/butler_test.cc')
| -rw-r--r-- | test/butler_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/butler_test.cc b/test/butler_test.cc index 7fd5ea571..1645d4100 100644 --- a/test/butler_test.cc +++ b/test/butler_test.cc @@ -46,9 +46,9 @@ BOOST_AUTO_TEST_CASE (butler_test1) film->set_name ("butler_test1"); film->set_container (Ratio::from_id ("185")); - auto video = content_factory("test/data/flat_red.png").front(); + auto video = content_factory("test/data/flat_red.png")[0]; film->examine_and_add_content (video); - auto audio = content_factory("test/data/staircase.wav").front(); + auto audio = content_factory("test/data/staircase.wav")[0]; film->examine_and_add_content (audio); BOOST_REQUIRE (!wait_for_jobs ()); |
