summaryrefslogtreecommitdiff
path: root/src/reel_markers_asset.cc
diff options
context:
space:
mode:
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 ce3891f4..03507551 100644
--- a/src/reel_markers_asset.cc
+++ b/src/reel_markers_asset.cc
@@ -44,6 +44,7 @@
LIBDCP_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
LIBDCP_ENABLE_WARNINGS
+#include <fmt/format.h>
using std::string;
@@ -113,7 +114,7 @@ ReelMarkersAsset::write_to_cpl(xmlpp::Element* node, Standard standard) const
for (auto const& i: _markers) {
auto m = cxml::add_child(ml, "Marker");
cxml::add_text_child(m, "Label", marker_to_string(i.first));
- cxml::add_text_child(m, "Offset", raw_convert<string>(i.second.as_editable_units_ceil(tcr)));
+ cxml::add_text_child(m, "Offset", fmt::to_string(i.second.as_editable_units_ceil(tcr)));
}
return asset;