mirror of
https://github.com/boostorg/unordered.git
synced 2025-11-14 14:30:07 +01:00
Unordered: Small improvements for windows.
[SVN r73760]
This commit is contained in:
@@ -134,8 +134,6 @@ namespace boost { namespace unordered { namespace detail {
|
||||
|
||||
std::size_t calculate_max_load()
|
||||
{
|
||||
BOOST_ASSERT(this->buckets_);
|
||||
|
||||
using namespace std;
|
||||
|
||||
// From 6.3.1/13:
|
||||
@@ -196,7 +194,7 @@ namespace boost { namespace unordered { namespace detail {
|
||||
: buckets(x, m),
|
||||
functions(x),
|
||||
mlf_(x.mlf_),
|
||||
max_load_(this->buckets_ ? calculate_max_load() : 0) {}
|
||||
max_load_(calculate_max_load()) {}
|
||||
|
||||
// TODO: Why do I use x's bucket count?
|
||||
table(table& x, node_allocator const& a, move_tag m)
|
||||
|
||||
Reference in New Issue
Block a user