diff --git a/indra/llcommon/llsdutil.h b/indra/llcommon/llsdutil.h index 863be04c8..1d68009ca 100644 --- a/indra/llcommon/llsdutil.h +++ b/indra/llcommon/llsdutil.h @@ -454,8 +454,8 @@ LLSD llsd_shallow(LLSD value, LLSD filter = LLSD()); // Specialization for generating a hash value from an LLSD block. -template <> -struct boost::hash +namespace boost { + template<> struct hash { typedef LLSD argument_type; typedef std::size_t result_type; @@ -516,5 +516,6 @@ struct boost::hash return seed; } }; +} #endif // LL_LLSDUTIL_H