mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
c++03 fix.
This commit is contained in:
@@ -69,11 +69,13 @@ public:
|
|||||||
const uint160& currencyTo, const uint160& issuerTo);
|
const uint160& currencyTo, const uint160& issuerTo);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef C11X
|
||||||
extern std::size_t hash_value(const currencyIssuer_ct& ci)
|
extern std::size_t hash_value(const currencyIssuer_ct& ci)
|
||||||
{
|
{
|
||||||
std::size_t r = hash_value(ci.second);
|
std::size_t r = hash_value(ci.second);
|
||||||
return ci.first.hash_combine(r);
|
return ci.first.hash_combine(r);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline std::size_t hash_value(const currencyIssuer_t& ci)
|
static inline std::size_t hash_value(const currencyIssuer_t& ci)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user