mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
Add missing const reference qualifiers to allocator_type constructor parameters
This commit is contained in:
@ -144,22 +144,24 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class InputIterator>
|
template <class InputIterator>
|
||||||
concurrent_flat_map(InputIterator f, InputIterator l, allocator_type a)
|
concurrent_flat_map(
|
||||||
|
InputIterator f, InputIterator l, allocator_type const& a)
|
||||||
: concurrent_flat_map(f, l, 0, hasher(), key_equal(), a)
|
: concurrent_flat_map(f, l, 0, hasher(), key_equal(), a)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
explicit concurrent_flat_map(allocator_type a)
|
explicit concurrent_flat_map(allocator_type const& a)
|
||||||
: table_(detail::foa::default_bucket_count, hasher(), key_equal(), a)
|
: table_(detail::foa::default_bucket_count, hasher(), key_equal(), a)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
concurrent_flat_map(concurrent_flat_map const& rhs, allocator_type a)
|
concurrent_flat_map(
|
||||||
|
concurrent_flat_map const& rhs, allocator_type const& a)
|
||||||
: table_(rhs.table_, a)
|
: table_(rhs.table_, a)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
concurrent_flat_map(concurrent_flat_map&& rhs, allocator_type a)
|
concurrent_flat_map(concurrent_flat_map&& rhs, allocator_type const& a)
|
||||||
: table_(std::move(rhs.table_), a)
|
: table_(std::move(rhs.table_), a)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user