summaryrefslogtreecommitdiff
path: root/src/lib/encode_server_finder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-30 15:43:14 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-05 12:58:13 +0100
commitb03f2277a205ff7e7cdaa12c6e52322ea474a7af (patch)
treed6067668105b2f0c6d0651bd1b8bd4186e0b8893 /src/lib/encode_server_finder.cc
parente46ff5f1cf168fb73ea930f3e8469165e5f6644e (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/lib/encode_server_finder.cc')
-rw-r--r--src/lib/encode_server_finder.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/encode_server_finder.cc b/src/lib/encode_server_finder.cc
index 143569e16..22c1d37dd 100644
--- a/src/lib/encode_server_finder.cc
+++ b/src/lib/encode_server_finder.cc
@@ -28,8 +28,8 @@
#include "exceptions.h"
#include "util.h"
#include "variant.h"
-#include <dcp/raw_convert.h>
#include <libcxml/cxml.h>
+#include <fmt/format.h>
#include <boost/bind/placeholders.hpp>
#include <boost/lambda/lambda.hpp>
#include <iostream>
@@ -49,7 +49,6 @@ using boost::scoped_array;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
#endif
-using dcp::raw_convert;
EncodeServerFinder* EncodeServerFinder::_instance = 0;
@@ -137,7 +136,7 @@ try
for (auto const& i: Config::instance()->servers()) {
try {
boost::asio::ip::udp::resolver resolver (io_service);
- boost::asio::ip::udp::resolver::query query (i, raw_convert<string>(HELLO_PORT));
+ boost::asio::ip::udp::resolver::query query(i, fmt::to_string(HELLO_PORT));
boost::asio::ip::udp::endpoint end_point (*resolver.resolve(query));
socket.send_to (boost::asio::buffer(data.c_str(), data.size() + 1), end_point);
} catch (...) {