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

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

View File

@@ -168,7 +168,7 @@ namespace boost {
return kv->first; 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, using table_type = detail::foa::table<map_types, Hash, KeyEqual,