diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-24 11:56:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-24 11:56:51 +0100 |
| commit | fe3c593910ed2364add3bb06c0b5ea51554c338d (patch) | |
| tree | 1bd64ab8d8cf72865a3c1c81c0c7790ea480a402 /src/pkl.cc | |
| parent | 5d002b3c904dd8fbad1bec8af119f3cd06b48d89 (diff) | |
Replace simple uses of raw_convert<string> with fmt.fmt
Diffstat (limited to 'src/pkl.cc')
| -rw-r--r-- | src/pkl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,6 +43,7 @@ #include "raw_convert.h" #include "util.h" #include "warnings.h" +#include <fmt/format.h> LIBDCP_DISABLE_WARNINGS #include <libxml++/libxml++.h> LIBDCP_ENABLE_WARNINGS @@ -120,7 +121,7 @@ PKL::write (boost::filesystem::path file, shared_ptr<const CertificateChain> sig asset->add_child("AnnotationText")->add_child_text (*i->annotation_text()); } asset->add_child("Hash")->add_child_text (i->hash()); - asset->add_child("Size")->add_child_text (raw_convert<string>(i->size())); + asset->add_child("Size")->add_child_text (fmt::to_string(i->size())); asset->add_child("Type")->add_child_text (i->type()); } |
