From b03f2277a205ff7e7cdaa12c6e52322ea474a7af Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 30 Dec 2024 15:43:14 +0100 Subject: Bump libdcp for raw_convert changes. raw_convert is gone, so here we use fmt::{to_string,format} instead. Other raw_converts now use fast_float. --- src/lib/string_text_file_content.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/string_text_file_content.cc') diff --git a/src/lib/string_text_file_content.cc b/src/lib/string_text_file_content.cc index 4f7fbb241..6b5492af9 100644 --- a/src/lib/string_text_file_content.cc +++ b/src/lib/string_text_file_content.cc @@ -26,9 +26,9 @@ #include "string_text_file_content.h" #include "text_content.h" #include "util.h" -#include #include #include +#include #include @@ -41,7 +41,6 @@ using std::make_shared; using std::shared_ptr; using std::string; using boost::optional; -using dcp::raw_convert; using namespace dcpomatic; @@ -131,7 +130,7 @@ StringTextFileContent::as_xml(xmlpp::Element* element, bool with_paths, PathBeha only_text()->as_xml(element); } - cxml::add_text_child(element, "Length", raw_convert(_length.get())); + cxml::add_text_child(element, "Length", fmt::to_string(_length.get())); } -- cgit v1.2.3