Revert "[map] Actually use k/v invalid types for declaration!"

This reverts commit 6f559346ac.

Err. My bad.
This commit is contained in:
Behdad Esfahbod 2022-01-10 14:40:27 -07:00
parent 6f559346ac
commit ce7f19a2cc
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ template <typename K, typename V,
v_invalid_t vINVALID = hb_is_pointer (V) ? 0 : std::is_signed<V>::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 (); }