mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Support boost 1.68
This commit is contained in:
@@ -48,21 +48,12 @@ struct is_boost_reverse_iterator
|
||||
explicit is_boost_reverse_iterator() = default;
|
||||
};
|
||||
|
||||
#if BOOST_VERSION >= 105800
|
||||
template <class It>
|
||||
struct is_boost_reverse_iterator<boost::intrusive::reverse_iterator<It>>
|
||||
: std::true_type
|
||||
{
|
||||
explicit is_boost_reverse_iterator() = default;
|
||||
};
|
||||
#else
|
||||
template <class It>
|
||||
struct is_boost_reverse_iterator<boost::intrusive::detail::reverse_iterator<It>>
|
||||
: std::true_type
|
||||
{
|
||||
explicit is_boost_reverse_iterator() = default;
|
||||
};
|
||||
#endif
|
||||
|
||||
/** Associative container where each element is also indexed by time.
|
||||
|
||||
|
||||
@@ -354,7 +354,6 @@ public:
|
||||
// Break up the array of strings into blocks
|
||||
// that each fit into one UDP packet.
|
||||
//
|
||||
boost::system::error_code ec;
|
||||
std::vector <boost::asio::const_buffer> buffers;
|
||||
buffers.reserve (m_data.size ());
|
||||
std::size_t size (0);
|
||||
|
||||
Reference in New Issue
Block a user