diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-01 14:08:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-01 20:51:21 +0100 |
| commit | c90d68049f56110436927aa847da882ee4b4f67c (patch) | |
| tree | 1a1b8ee748d40a76c6e99fdf12e3da3306df7c4e /src/combine.cc | |
| parent | 68533f20f9f2e0ca9efc9360f20d047a79e4fd8a (diff) | |
Replace raw_convert<string> with direct calls to fmt.v1.10.3
Diffstat (limited to 'src/combine.cc')
| -rw-r--r-- | src/combine.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/combine.cc b/src/combine.cc index 74456bfb..34cb0c25 100644 --- a/src/combine.cc +++ b/src/combine.cc @@ -47,6 +47,7 @@ #include "font_asset.h" #include "interop_text_asset.h" #include "raw_convert.h" +#include <fmt/format.h> #include <boost/filesystem.hpp> #include <set> #include <string> @@ -70,7 +71,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<string>(i) + path.extension().string()); + boost::filesystem::path p = path.parent_path() / (path.stem().string() + fmt::to_string(i) + path.extension().string()); if (!dcp::filesystem::exists(p)) { return p; } |
