Skip to content
Snippets Groups Projects
Commit 7d5a4d71 authored by Nicky Dasmijn's avatar Nicky Dasmijn Committed by Andrey Lihatskiy
Browse files

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

parent acaa2723
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment