From cfe2b66114fdbc2b61566bdc086ce41286a78aec Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 13 Jan 2022 11:42:48 -0700 Subject: [PATCH] [algs] Fix hash chaining to std::hash() --- src/hb-algs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-algs.hh b/src/hb-algs.hh index d95db4ca5..a725c8ba4 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -219,7 +219,7 @@ struct impl (const T& v, hb_priority<2>) const HB_RETURN (uint32_t, hb_deref (v).hash ()) template constexpr auto - impl (const T& v, hb_priority<1>) const HB_RETURN (uint32_t, std::hash{} (hb_deref (v))) + impl (const T& v, hb_priority<1>) const HB_RETURN (uint32_t, std::hash>{} (hb_deref (v))) template ::value)> constexpr auto