From 0cfe03ee13d7659901211345e30ed78fe55e21ea Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 15 Jul 2025 02:47:35 +0200 Subject: Change Film::add_content to take a vector of content. --- test/time_calculation_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/time_calculation_test.cc') diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc index 7d23b80e0..abac4a6bd 100644 --- a/test/time_calculation_test.cc +++ b/test/time_calculation_test.cc @@ -194,7 +194,7 @@ BOOST_AUTO_TEST_CASE(player_time_calculation_test1) list notes; auto content = std::make_shared(doc, boost::none, 38, notes); film->set_sequence(false); - film->add_content(content); + film->add_content({content}); auto player = make_shared(film, Image::Alignment::COMPACT, false); @@ -400,7 +400,7 @@ BOOST_AUTO_TEST_CASE(player_time_calculation_test2) list notes; auto content = std::make_shared(doc, boost::none, 38, notes); film->set_sequence(false); - film->add_content(content); + film->add_content({content}); auto player = make_shared(film, Image::Alignment::COMPACT, false); @@ -577,7 +577,7 @@ BOOST_AUTO_TEST_CASE(player_time_calculation_test3) auto content = std::make_shared(doc, boost::none, 38, notes); auto stream = content->audio->streams().front(); film->set_sequence(false); - film->add_content(content); + film->add_content({content}); auto player = make_shared(film, Image::Alignment::COMPACT, false); -- cgit v1.2.3