mirror of
https://github.com/boostorg/unordered.git
synced 2025-08-01 04:14:29 +02:00
Catch remaining places where value_type was used instead of storage_type
This commit is contained in:
@@ -1621,8 +1621,8 @@ private:
|
|||||||
struct destroy_element_on_exit
|
struct destroy_element_on_exit
|
||||||
{
|
{
|
||||||
~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)
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user