[map] Actually use k/v invalid types for declaration!
This commit is contained in:
parent
a45a630539
commit
6f559346ac
|
@ -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_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 (); }
|
||||
|
|
Loading…
Reference in New Issue