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:
@@ -42,6 +42,8 @@
|
||||
#include <boost/algorithm/clamp.hpp>
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/beast/core/ostream.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
@@ -252,7 +254,7 @@ PeerImp::crawl() const
|
||||
auto const iter = headers_.find("Crawl");
|
||||
if (iter == headers_.end())
|
||||
return false;
|
||||
return boost::beast::detail::iequals(iter->value(), "public");
|
||||
return boost::iequals(iter->value(), "public");
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user