From e2fd49ff1a419dad6d6dd077aa25c20d054530ff Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 8 May 2023 23:37:47 -0600 Subject: [PATCH] [hash] Comment --- 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 0324d0ac1..08e3daa2c 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -317,7 +317,7 @@ struct // Horrible: std:hash() of integers seems to be identity in gcc / clang?! template ::value)> constexpr auto - impl (const T& v, hb_priority<1>) const HB_RETURN (uint32_t, v * 8388607) + impl (const T& v, hb_priority<1>) const HB_RETURN (uint32_t, v * 8388607 /* Mersenne prime */) template constexpr auto impl (const T& v, hb_priority<0>) const HB_RETURN (uint32_t, std::hash>{} (hb_deref (v)))