From c90d68049f56110436927aa847da882ee4b4f67c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 1 Jan 2025 14:08:56 +0100 Subject: Replace raw_convert with direct calls to fmt. --- src/pkl.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pkl.cc') diff --git a/src/pkl.cc b/src/pkl.cc index c77d8e64..67c9067c 100644 --- a/src/pkl.cc +++ b/src/pkl.cc @@ -48,6 +48,7 @@ LIBDCP_DISABLE_WARNINGS #include LIBDCP_ENABLE_WARNINGS +#include #include @@ -137,7 +138,7 @@ PKL::write_xml (boost::filesystem::path file, shared_ptr cxml::add_text_child(asset, "AnnotationText", *i->annotation_text()); } cxml::add_text_child(asset, "Hash", i->hash()); - cxml::add_text_child(asset, "Size", raw_convert(i->size())); + cxml::add_text_child(asset, "Size", fmt::to_string(i->size())); cxml::add_text_child(asset, "Type", i->type()); if (auto filename = i->original_filename()) { cxml::add_text_child(asset, "OriginalFileName", *filename); -- cgit v1.2.3