Unordered: Small improvements for windows.

[SVN r73760]
This commit is contained in:
Daniel James
2011-08-14 21:03:18 +00:00
parent 431f2abfee
commit 559122f67a
6 changed files with 32 additions and 15 deletions

View File

@@ -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)