From 43def53230c8d2fb52ff0b7c6a2ba4fc8bdf6dc5 Mon Sep 17 00:00:00 2001 From: Nicky Dasmijn Date: Mon, 20 Jul 2020 19:24:43 +0200 Subject: [PATCH] Hash needs to be in the boost namespace. --- indra/llcommon/llsdutil.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/llsdutil.h b/indra/llcommon/llsdutil.h index 84be95ba54..65bdb9a48e 100644 --- a/indra/llcommon/llsdutil.h +++ b/indra/llcommon/llsdutil.h @@ -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 +/* struct boost:hash */ +struct hash { typedef LLSD argument_type; typedef std::size_t result_type; @@ -621,5 +623,5 @@ struct boost::hash return seed; } }; - +} #endif // LL_LLSDUTIL_H