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 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;