diff --git a/indra/llcommon/lluuid.h b/indra/llcommon/lluuid.h index 3b8c50da10..d98c3163ef 100644 --- a/indra/llcommon/lluuid.h +++ b/indra/llcommon/lluuid.h @@ -166,8 +166,12 @@ public: }; // Generate a hash of an LLUUID object using the boost hash templates. -template <> -struct boost::hash + +// GCC 4.9 does not like the specialization in form of boost::hash but rather wants a namespace +// template <> +// struct boost::hash +namespace boost { template <> struct hash +// { typedef LLUUID argument_type; typedef std::size_t result_type; @@ -183,6 +187,7 @@ struct boost::hash return seed; } }; +} // close namespace // UUID hash calculation struct FSUUIDHash