mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Support for boost 1.71:
* replace boost::beast::detail::iequals with boost::iequals * replace deprecated `buffers` function with `make_printable` * replace boost::beast::detail::ascii_tolower with lambda * add missing includes
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <ripple/rpc/handlers/GetCounts.h>
|
||||
#include <ripple/server/SimpleWriter.h>
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/utility/in_place_factory.hpp>
|
||||
|
||||
namespace ripple {
|
||||
@@ -226,7 +227,7 @@ OverlayImpl::onHandoff (std::unique_ptr <beast::asio::ssl_bundle>&& ssl_bundle,
|
||||
if (std::find_if(types.begin(), types.end(),
|
||||
[](std::string const& s)
|
||||
{
|
||||
return boost::beast::detail::iequals(s, "peer");
|
||||
return boost::iequals(s, "peer");
|
||||
}) == types.end())
|
||||
{
|
||||
handoff.moved = false;
|
||||
|
||||
Reference in New Issue
Block a user