summaryrefslogtreecommitdiff
path: root/test/text_entry_point_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-07 07:06:43 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-07 07:06:43 +0100
commit2f93574e2ddef467bd879d559340f7967642615d (patch)
treef7946ba95e576cd420a289b47acc23619c8b414d /test/text_entry_point_test.cc
parent3bffa32ae5083a61222b42f74a002bb4e061cec0 (diff)
Make "why_not" reasons an optional return.
Diffstat (limited to 'test/text_entry_point_test.cc')
-rw-r--r--test/text_entry_point_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/text_entry_point_test.cc b/test/text_entry_point_test.cc
index 995b6db49..a79fb72b3 100644
--- a/test/text_entry_point_test.cc
+++ b/test/text_entry_point_test.cc
@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(test_text_entry_point)
film2->read_metadata();
string why_not;
- BOOST_CHECK(!dcp_content->can_reuse_text(film2, TextType::OPEN_SUBTITLE, why_not));
+ BOOST_CHECK(!dcp_content->can_reuse_text(film2, TextType::OPEN_SUBTITLE, &why_not));
BOOST_CHECK_EQUAL(why_not, "one of its subtitle reels has a non-zero entry point so it must be re-written.");
}