summaryrefslogtreecommitdiff
path: root/src/lib/cross_unix.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-23 21:50:53 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-26 00:26:40 +0100
commitcec6ff92aef45c687085ecfc1059004407c18c57 (patch)
tree8aace150067b6017498e037841a22465525b4a62 /src/lib/cross_unix.cc
parent1e324c3cac09ac886293f755d0c1527ece2f5244 (diff)
Replace raw_convert<string> with fmt::to_string().
Diffstat (limited to 'src/lib/cross_unix.cc')
-rw-r--r--src/lib/cross_unix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cross_unix.cc b/src/lib/cross_unix.cc
index 743c11980..0327c8136 100644
--- a/src/lib/cross_unix.cc
+++ b/src/lib/cross_unix.cc
@@ -20,13 +20,13 @@
#include "cross.h"
-#include <dcp/raw_convert.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
extern "C" {
#include <libavformat/avio.h>
}
LIBDCP_ENABLE_WARNINGS
+#include <fmt/format.h>
using std::string;
@@ -80,7 +80,7 @@ running_32_on_64 ()
string
dcpomatic::get_process_id ()
{
- return dcp::raw_convert<string>(getpid());
+ return fmt::to_string(getpid());
}