From 6f559346ac70fd188cb22d41f4b03ec227feee25 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 10 Jan 2022 14:29:36 -0700 Subject: [PATCH] [map] Actually use k/v invalid types for declaration! --- src/hb-map.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-map.hh b/src/hb-map.hh index 793dcf22c..81cf0c24b 100644 --- a/src/hb-map.hh +++ b/src/hb-map.hh @@ -41,8 +41,8 @@ template ::value ? hb_int_min (V) : (V) -1> struct hb_hashmap_t { - static constexpr K INVALID_KEY = kINVALID; - static constexpr V INVALID_VALUE = vINVALID; + static constexpr k_invalid_t INVALID_KEY = kINVALID; + static constexpr v_invalid_t INVALID_VALUE = vINVALID; hb_hashmap_t () { init (); } ~hb_hashmap_t () { fini (); }