diff options
author | Lee Clagett <code@leeclagett.com> | 2020-05-31 21:18:11 -0400 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2020-05-31 21:18:11 -0400 |
commit | 7aeb5035476c672e4c329c02b20ced1669ebe4cd (patch) | |
tree | 41562e1722533860750b064f214840578793ee5c /src/rpc/rpc_args.cpp | |
parent | Merge pull request #6582 (diff) | |
download | monero-7aeb5035476c672e4c329c02b20ced1669ebe4cd.tar.xz |
Fix boost <1.60 compilation and fix boost 1.73+ warnings
Diffstat (limited to '')
-rw-r--r-- | src/rpc/rpc_args.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <boost/algorithm/string.hpp> #include <boost/asio/ip/address.hpp> -#include <boost/bind.hpp> +#include <functional> #include "common/command_line.h" #include "common/i18n.h" #include "hex.h" @@ -221,7 +221,7 @@ namespace cryptonote std::vector<std::string> 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<std::string>, _1, std::locale::classic())); + std::for_each(access_control_origins.begin(), access_control_origins.end(), std::bind(&boost::trim<std::string>, std::placeholders::_1, std::locale::classic())); config.access_control_origins = std::move(access_control_origins); } |