packages/net/pdns-recursor/patches/300-boost-173.patch
Rosen Penev 3ef692e74d
pdns-recursor: fix compilation with boost 1.73
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-06 14:30:17 -07:00

21 lines
434 B
Diff

--- a/webserver.cc
+++ b/webserver.cc
@@ -36,6 +36,8 @@
#include "uuid-utils.hh"
#include <yahttp/router.hpp>
+using namespace boost::placeholders;
+
json11::Json HttpRequest::json()
{
string err;
--- a/ws-recursor.cc
+++ b/ws-recursor.cc
@@ -45,6 +45,7 @@
extern thread_local FDMultiplexer* t_fdm;
+using namespace boost::placeholders;
using json11::Json;
void productServerStatisticsFetch(map<string,string>& out)