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/pixel_quanta.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/pixel_quanta.cc')
| -rw-r--r-- | src/lib/pixel_quanta.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/pixel_quanta.cc b/src/lib/pixel_quanta.cc index 07690f3ac..91602e12c 100644 --- a/src/lib/pixel_quanta.cc +++ b/src/lib/pixel_quanta.cc @@ -20,7 +20,7 @@ #include "pixel_quanta.h" -#include <dcp/raw_convert.h> +#include <fmt/format.h> PixelQuanta::PixelQuanta (cxml::ConstNodePtr node) @@ -34,8 +34,8 @@ PixelQuanta::PixelQuanta (cxml::ConstNodePtr node) void PixelQuanta::as_xml (xmlpp::Element* node) const { - cxml::add_text_child(node, "X", dcp::raw_convert<std::string>(x)); - cxml::add_text_child(node, "Y", dcp::raw_convert<std::string>(y)); + cxml::add_text_child(node, "X", fmt::to_string(x)); + cxml::add_text_child(node, "Y", fmt::to_string(y)); } |
