diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-01 14:08:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-01 20:51:21 +0100 |
| commit | c90d68049f56110436927aa847da882ee4b4f67c (patch) | |
| tree | 1a1b8ee748d40a76c6e99fdf12e3da3306df7c4e /src/interop_text_asset.cc | |
| parent | 68533f20f9f2e0ca9efc9360f20d047a79e4fd8a (diff) | |
Replace raw_convert<string> with direct calls to fmt.v1.10.3
Diffstat (limited to 'src/interop_text_asset.cc')
| -rw-r--r-- | src/interop_text_asset.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interop_text_asset.cc b/src/interop_text_asset.cc index 01e0f89a..d7891946 100644 --- a/src/interop_text_asset.cc +++ b/src/interop_text_asset.cc @@ -54,6 +54,7 @@ LIBDCP_DISABLE_WARNINGS #include <libxml++/libxml++.h> LIBDCP_ENABLE_WARNINGS +#include <fmt/format.h> #include <boost/weak_ptr.hpp> #include <cmath> #include <cstdio> @@ -117,7 +118,7 @@ InteropTextAsset::xml_as_string() const cxml::add_text_child(root, "SubtitleID", _id); cxml::add_text_child(root, "MovieTitle", _movie_title); - cxml::add_text_child(root, "ReelNumber", raw_convert<string> (_reel_number)); + cxml::add_text_child(root, "ReelNumber", fmt::to_string(_reel_number)); cxml::add_text_child(root, "Language", _language); for (auto i: _load_font_nodes) { |
