Catch remaining places where value_type was used instead of storage_type

This commit is contained in:
Christian Mazakas
2022-12-22 14:17:52 -08:00
parent 721d8713cd
commit 2cdcbd24f5
2 changed files with 3 additions and 3 deletions

View File

@ -1621,8 +1621,8 @@ private:
struct destroy_element_on_exit
{
~destroy_element_on_exit(){this_->destroy_element(p);}
table *this_;
value_type *p;
table *this_;
storage_type *p;
};
void copy_elements_from(const table& x)

View File

@ -168,7 +168,7 @@ namespace boost {
return kv->first;
}
static value_type&& move(storage_type& x) { return std::move(x); }
static storage_type&& move(storage_type& x) { return std::move(x); }
};
using table_type = detail::foa::table<map_types, Hash, KeyEqual,