Hash needs to be in the boost namespace.

meow-7.2.2
Nicky Dasmijn 2020-07-20 19:24:43 +02:00
parent 98ff028b0a
commit 43def53230
1 changed files with 4 additions and 2 deletions

View File

@ -558,9 +558,11 @@ LLSD shallow(LLSD value, LLSD filter=LLSD()) { return llsd_shallow(value, filter
} // namespace llsd
namespace boost{
// Specialization for generating a hash value from an LLSD block.
template <>
struct boost::hash<LLSD>
/* struct boost:hash<LLSD> */
struct hash<LLSD>
{
typedef LLSD argument_type;
typedef std::size_t result_type;
@ -621,5 +623,5 @@ struct boost::hash<LLSD>
return seed;
}
};
}
#endif // LL_LLSDUTIL_H