Skip to content

Commit 6753bac

Browse files
authored
Update hash_set1.h
Missing "typedef" added
1 parent 4d43c2e commit 6753bac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/hash_set1.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ class hash_base
701701

702702
if (HRD_LIKELY(!!it._ptr)) //valid
703703
{
704-
typename this_type::value_type data_type;
704+
typedef typename this_type::value_type data_type;
705705

706706
it._ptr->data.~data_type();
707707
_size--;
@@ -742,7 +742,7 @@ class hash_base
742742
{
743743
if (HRD_LIKELY(ref(this_type::key_getter::get_key(r.data), k))) //identical found
744744
{
745-
typename this_type::value_type data_type;
745+
typedef typename this_type::value_type data_type;
746746

747747
r.data.~data_type();
748748
_size--;

0 commit comments

Comments
 (0)