From ce7f19a2ccb04181b015005f9aa12381da606c63 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 10 Jan 2022 14:40:27 -0700 Subject: [PATCH] Revert "[map] Actually use k/v invalid types for declaration!" This reverts commit 6f559346ac70fd188cb22d41f4b03ec227feee25. Err. My bad. --- 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 81cf0c24b..793dcf22c 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_t INVALID_KEY = kINVALID; - static constexpr v_invalid_t INVALID_VALUE = vINVALID; + static constexpr K INVALID_KEY = kINVALID; + static constexpr V INVALID_VALUE = vINVALID; hb_hashmap_t () { init (); } ~hb_hashmap_t () { fini (); }