summaryrefslogtreecommitdiff
path: root/src/lib/cross_common.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-30 15:43:14 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-05 12:58:13 +0100
commitb03f2277a205ff7e7cdaa12c6e52322ea474a7af (patch)
treed6067668105b2f0c6d0651bd1b8bd4186e0b8893 /src/lib/cross_common.cc
parente46ff5f1cf168fb73ea930f3e8469165e5f6644e (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/cross_common.cc')
-rw-r--r--src/lib/cross_common.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cross_common.cc b/src/lib/cross_common.cc
index 1e145c8fc..2e6f5c414 100644
--- a/src/lib/cross_common.cc
+++ b/src/lib/cross_common.cc
@@ -23,11 +23,11 @@
#include "compose.hpp"
#include "dcpomatic_assert.h"
#include "dcpomatic_log.h"
-#include <dcp/raw_convert.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
LIBDCP_ENABLE_WARNINGS
+#include <fmt/format.h>
#include <boost/algorithm/string.hpp>
#include <iostream>
@@ -63,7 +63,7 @@ Drive::as_xml () const
for (auto i: _mount_points) {
cxml::add_text_child(root, "MountPoint", i.string());
}
- cxml::add_text_child(root, "Size", dcp::raw_convert<string>(_size));
+ cxml::add_text_child(root, "Size", fmt::to_string(_size));
if (_vendor) {
cxml::add_text_child(root, "Vendor", *_vendor);
}