diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-07-15 03:36:59 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-15 18:03:57 +0200 |
| commit | 21415bdb69a99c4fc36cf4b5e5160a171bb1cad4 (patch) | |
| tree | 46265de6587585d292ac4c97267327af0c359c1c /test/test.cc | |
| parent | 6207d271effad4e691a5155ccdad083e03b010bc (diff) | |
Change Film::examine_and_add_content to take a vector of content.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test.cc b/test/test.cc index c6f1a210f..143b00ca2 100644 --- a/test/test.cc +++ b/test/test.cc @@ -219,10 +219,8 @@ new_test_film(string name, vector<shared_ptr<Content>> content, Cleanup* cleanup film->set_container (Ratio::from_id ("185")); film->write_metadata (); - for (auto i: content) { - film->examine_and_add_content (i); - BOOST_REQUIRE (!wait_for_jobs()); - } + film->examine_and_add_content(content); + BOOST_REQUIRE(!wait_for_jobs()); return film; } |
