Put hash for boost namespace properly into that by using namespace boost

master
Nicky Dasmijn 2020-07-20 19:44:05 +02:00 committed by Andrey Lihatskiy
parent acaa272330
commit 7d5a4d71ac
1 changed files with 5 additions and 3 deletions

View File

@ -558,9 +558,11 @@ LLSD shallow(LLSD value, LLSD filter=LLSD()) { return llsd_shallow(value, filter
} // namespace llsd
// Specialization for generating a hash value from an LLSD block.
// Specialization for generating a hash value from an LLSD block.
namespace boost
{
template <>
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