diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-30 15:43:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-05 12:58:13 +0100 |
| commit | b03f2277a205ff7e7cdaa12c6e52322ea474a7af (patch) | |
| tree | d6067668105b2f0c6d0651bd1b8bd4186e0b8893 /src/tools | |
| parent | e46ff5f1cf168fb73ea930f3e8469165e5f6644e (diff) | |
Bump libdcp for raw_convert changes.
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead.
Other raw_converts now use fast_float.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index e80bfc333..3d9d571af 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -100,7 +100,6 @@ #include "lib/video_content.h" #include <dcp/exceptions.h> #include <dcp/filesystem.h> -#include <dcp/raw_convert.h> #include <dcp/scope_guard.h> #include <dcp/warnings.h> LIBDCP_DISABLE_WARNINGS @@ -117,6 +116,7 @@ LIBDCP_ENABLE_WARNINGS #ifdef __WXMSW__ #include <shellapi.h> #endif +#include <fmt/format.h> #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <iostream> @@ -147,7 +147,6 @@ using boost::algorithm::find; #if BOOST_VERSION >= 106100 using namespace boost::placeholders; #endif -using dcp::raw_convert; class FilmChangedClosingDialog @@ -902,7 +901,7 @@ private: try { boost::asio::io_service io_service; boost::asio::ip::tcp::resolver resolver (io_service); - boost::asio::ip::tcp::resolver::query query ("127.0.0.1", raw_convert<string> (port)); + boost::asio::ip::tcp::resolver::query query("127.0.0.1", fmt::to_string(port)); boost::asio::ip::tcp::resolver::iterator endpoint_iterator = resolver.resolve (query); Socket socket (5); socket.connect (*endpoint_iterator); |
