From fe3c593910ed2364add3bb06c0b5ea51554c338d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 24 Mar 2022 11:56:51 +0100 Subject: Replace simple uses of raw_convert with fmt. --- src/combine.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/combine.cc') diff --git a/src/combine.cc b/src/combine.cc index e974c407..48fa9b67 100644 --- a/src/combine.cc +++ b/src/combine.cc @@ -46,6 +46,7 @@ #include "font_asset.h" #include "interop_subtitle_asset.h" #include "raw_convert.h" +#include #include #include #include @@ -69,7 +70,7 @@ make_unique (boost::filesystem::path path) } for (int i = 0; i < 10000; ++i) { - boost::filesystem::path p = path.parent_path() / (path.stem().string() + dcp::raw_convert(i) + path.extension().string()); + boost::filesystem::path p = path.parent_path() / (path.stem().string() + fmt::to_string(i) + path.extension().string()); if (!boost::filesystem::exists(p)) { return p; } -- cgit v1.2.3