From 7aeb5035476c672e4c329c02b20ced1669ebe4cd Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Sun, 31 May 2020 21:18:11 -0400 Subject: Fix boost <1.60 compilation and fix boost 1.73+ warnings --- src/rpc/rpc_args.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rpc/rpc_args.cpp') diff --git a/src/rpc/rpc_args.cpp b/src/rpc/rpc_args.cpp index 9153e76ea..8601bd0b4 100644 --- a/src/rpc/rpc_args.cpp +++ b/src/rpc/rpc_args.cpp @@ -30,7 +30,7 @@ #include #include -#include +#include #include "common/command_line.h" #include "common/i18n.h" #include "hex.h" @@ -221,7 +221,7 @@ namespace cryptonote std::vector access_control_origins; boost::split(access_control_origins, access_control_origins_input, boost::is_any_of(",")); - std::for_each(access_control_origins.begin(), access_control_origins.end(), boost::bind(&boost::trim, _1, std::locale::classic())); + std::for_each(access_control_origins.begin(), access_control_origins.end(), std::bind(&boost::trim, std::placeholders::_1, std::locale::classic())); config.access_control_origins = std::move(access_control_origins); } -- cgit v1.2.3