summaryrefslogtreecommitdiff
path: root/src/pkl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-01 14:08:56 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-01 20:51:21 +0100
commitc90d68049f56110436927aa847da882ee4b4f67c (patch)
tree1a1b8ee748d40a76c6e99fdf12e3da3306df7c4e /src/pkl.cc
parent68533f20f9f2e0ca9efc9360f20d047a79e4fd8a (diff)
Replace raw_convert<string> with direct calls to fmt.v1.10.3
Diffstat (limited to 'src/pkl.cc')
-rw-r--r--src/pkl.cc3
1 files changed, 2 insertions, 1 deletions
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 <libxml++/libxml++.h>
LIBDCP_ENABLE_WARNINGS
+#include <fmt/format.h>
#include <iostream>
@@ -137,7 +138,7 @@ PKL::write_xml (boost::filesystem::path file, shared_ptr<const CertificateChain>
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<string>(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);