summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-17 20:47:06 +0100
committerCarl Hetherington <cth@carlh.net>2022-01-17 20:47:06 +0100
commit72218f61297458b142e5a2397b01e482d2097270 (patch)
tree44ed2792b7375948abebc979f3e2a23cf15c6afa
parent200e92e7e23838866b4452c7a1f789f445a0d2be (diff)
More build fixes.v2.15.184
-rw-r--r--test/closed_caption_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc
index bcb6f84a7..d1cb9c3e3 100644
--- a/test/closed_caption_test.cc
+++ b/test/closed_caption_test.cc
@@ -100,15 +100,15 @@ BOOST_AUTO_TEST_CASE (closed_caption_test2)
BOOST_REQUIRE_EQUAL (ccaps.size(), 3U);
auto i = ccaps.begin ();
- BOOST_CHECK_EQUAL ((*i)->annotation_text(), "First track");
+ BOOST_CHECK_EQUAL ((*i)->annotation_text().get_value_or(""), "First track");
BOOST_REQUIRE (static_cast<bool>((*i)->language()));
BOOST_CHECK_EQUAL ((*i)->language().get(), "fr-FR");
++i;
- BOOST_CHECK_EQUAL ((*i)->annotation_text(), "Second track");
+ BOOST_CHECK_EQUAL ((*i)->annotation_text().get_value_or(""), "Second track");
BOOST_REQUIRE (static_cast<bool>((*i)->language()));
BOOST_CHECK_EQUAL ((*i)->language().get(), "de-DE");
++i;
- BOOST_CHECK_EQUAL ((*i)->annotation_text(), "Third track");
+ BOOST_CHECK_EQUAL ((*i)->annotation_text().get_value_or(""), "Third track");
BOOST_REQUIRE (static_cast<bool>((*i)->language()));
BOOST_CHECK_EQUAL ((*i)->language().get(), "it-IT");