summaryrefslogtreecommitdiff
path: root/src/reel_markers_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-24 11:56:51 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-24 11:56:51 +0100
commitfe3c593910ed2364add3bb06c0b5ea51554c338d (patch)
tree1bd64ab8d8cf72865a3c1c81c0c7790ea480a402 /src/reel_markers_asset.cc
parent5d002b3c904dd8fbad1bec8af119f3cd06b48d89 (diff)
Replace simple uses of raw_convert<string> with fmt.fmt
Diffstat (limited to 'src/reel_markers_asset.cc')
-rw-r--r--src/reel_markers_asset.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reel_markers_asset.cc b/src/reel_markers_asset.cc
index 0dd3cf29..51ce35fb 100644
--- a/src/reel_markers_asset.cc
+++ b/src/reel_markers_asset.cc
@@ -41,6 +41,7 @@
#include "raw_convert.h"
#include "reel_markers_asset.h"
#include "warnings.h"
+#include <fmt/format.h>
LIBDCP_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
LIBDCP_ENABLE_WARNINGS
@@ -113,7 +114,7 @@ ReelMarkersAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const
for (auto const& i: _markers) {
auto m = ml->add_child("Marker");
m->add_child("Label")->add_child_text(marker_to_string(i.first));
- m->add_child("Offset")->add_child_text(raw_convert<string>(i.second.as_editable_units_ceil(tcr)));
+ m->add_child("Offset")->add_child_text(fmt::to_string(i.second.as_editable_units_ceil(tcr)));
}
return asset;