From 9ccb0154112d053df2265bd83745478d0337917d Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sun, 24 Mar 2019 22:45:41 -0400 Subject: [PATCH] e5b81dd825d80736a2a5e1ec541ea4411e151e44 won't compile without this change --- indra/llcommon/llsdutil.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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