mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fixes for FreeBSD
This commit is contained in:
@@ -213,6 +213,9 @@ std::istream& operator>> (std::istream& is,
|
||||
|
||||
namespace std {
|
||||
|
||||
template <typename>
|
||||
struct hash;
|
||||
|
||||
/** Specialization for hash. */
|
||||
template <class Traits>
|
||||
struct hash <ripple::IdentifierType <Traits> >
|
||||
@@ -244,6 +247,9 @@ private:
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
template <typename>
|
||||
struct equal_to;
|
||||
|
||||
/** Specialization for equal_to. */
|
||||
template <class Traits>
|
||||
struct equal_to <ripple::IdentifierType <Traits> >
|
||||
|
||||
@@ -500,6 +500,9 @@ std::ostream& operator<< (std::ostream& out, const base_uint<BITS>& u)
|
||||
|
||||
namespace std {
|
||||
|
||||
template <typename>
|
||||
struct hash;
|
||||
|
||||
/** Specialization for hash. */
|
||||
template<unsigned int BITS>
|
||||
struct hash <ripple::base_uint <BITS> >
|
||||
@@ -530,6 +533,9 @@ private:
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
template <typename>
|
||||
struct equal_to;
|
||||
|
||||
/** Specialization for equal_to. */
|
||||
template <unsigned int BITS>
|
||||
struct equal_to <ripple::base_uint <BITS> >
|
||||
|
||||
Reference in New Issue
Block a user