diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-30 15:43:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-05 12:58:13 +0100 |
| commit | b03f2277a205ff7e7cdaa12c6e52322ea474a7af (patch) | |
| tree | d6067668105b2f0c6d0651bd1b8bd4186e0b8893 /src/lib/remembered_asset.cc | |
| parent | e46ff5f1cf168fb73ea930f3e8469165e5f6644e (diff) | |
Bump libdcp for raw_convert changes.
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead.
Other raw_converts now use fast_float.
Diffstat (limited to 'src/lib/remembered_asset.cc')
| -rw-r--r-- | src/lib/remembered_asset.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/remembered_asset.cc b/src/lib/remembered_asset.cc index 20b65970c..dfe0917c5 100644 --- a/src/lib/remembered_asset.cc +++ b/src/lib/remembered_asset.cc @@ -22,11 +22,11 @@ #include "dcpomatic_assert.h" #include "remembered_asset.h" #include <dcp/filesystem.h> -#include <dcp/raw_convert.h> #include <libcxml/cxml.h> LIBDCP_DISABLE_WARNINGS #include <libxml++/libxml++.h> LIBDCP_ENABLE_WARNINGS +#include <fmt/format.h> using std::string; @@ -53,8 +53,8 @@ RememberedAsset::as_xml(xmlpp::Element* parent) const { cxml::add_text_child(parent, "Filename", _filename.string()); auto period_node = cxml::add_child(parent, "Period"); - cxml::add_text_child(period_node, "From", dcp::raw_convert<string>(_period.from.get())); - cxml::add_text_child(period_node, "To", dcp::raw_convert<string>(_period.to.get())); + cxml::add_text_child(period_node, "From", fmt::to_string(_period.from.get())); + cxml::add_text_child(period_node, "To", fmt::to_string(_period.to.get())); cxml::add_text_child(parent, "Identifier", _identifier); } |
