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/asset_map.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/asset_map.cc') diff --git a/src/asset_map.cc b/src/asset_map.cc index 0ee4b486..2c2dd9f2 100644 --- a/src/asset_map.cc +++ b/src/asset_map.cc @@ -41,6 +41,7 @@ LIBDCP_DISABLE_WARNINGS #include LIBDCP_ENABLE_WARNINGS +#include #include @@ -214,6 +215,6 @@ AssetMap::Asset::write_xml(xmlpp::Element* asset_list, boost::filesystem::path d cxml::add_text_child(chunk, "Path", relative_path->generic_string()); cxml::add_text_child(chunk, "VolumeIndex", "1"); cxml::add_text_child(chunk, "Offset", "0"); - cxml::add_text_child(chunk, "Length", raw_convert(filesystem::file_size(_path))); + cxml::add_text_child(chunk, "Length", fmt::to_string(filesystem::file_size(_path))); } -- cgit v1.2.3