mirror of
https://github.com/monero-project/monero.git
synced 2026-01-16 14:53:00 -08:00
Fix boost <1.60 compilation and fix boost 1.73+ warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user