diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-30 15:43:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-05 12:58:13 +0100 |
| commit | b03f2277a205ff7e7cdaa12c6e52322ea474a7af (patch) | |
| tree | d6067668105b2f0c6d0651bd1b8bd4186e0b8893 /test/subtitle_reel_number_test.cc | |
| parent | e46ff5f1cf168fb73ea930f3e8469165e5f6644e (diff) | |
Bump libdcp for raw_convert changes.
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead.
Other raw_converts now use fast_float.
Diffstat (limited to 'test/subtitle_reel_number_test.cc')
| -rw-r--r-- | test/subtitle_reel_number_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/subtitle_reel_number_test.cc b/test/subtitle_reel_number_test.cc index a74cc097d..caa3cb2fe 100644 --- a/test/subtitle_reel_number_test.cc +++ b/test/subtitle_reel_number_test.cc @@ -30,7 +30,7 @@ #include <dcp/reel.h> #include <dcp/interop_text_asset.h> #include <dcp/reel_text_asset.h> -#include <dcp/raw_convert.h> +#include <fmt/format.h> #include <boost/test/unit_test.hpp> @@ -66,7 +66,7 @@ BOOST_AUTO_TEST_CASE (subtitle_reel_number_test) if (i->main_subtitle()) { auto ass = dynamic_pointer_cast<dcp::InteropTextAsset>(i->main_subtitle()->asset()); BOOST_REQUIRE (ass); - BOOST_CHECK_EQUAL (ass->reel_number(), dcp::raw_convert<string>(n)); + BOOST_CHECK_EQUAL (ass->reel_number(), fmt::to_string(n)); ++n; } } |
