forked from boostorg/unordered
Unordered: Fix some test failures.
[SVN r73856]
This commit is contained in:
@ -143,7 +143,7 @@ namespace boost { namespace unordered { namespace detail {
|
||||
return double_to_size_t(ceil(
|
||||
static_cast<double>(this->mlf_) *
|
||||
static_cast<double>(this->bucket_count_)
|
||||
)) - 1;
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,9 @@ void unordered_destructible_test(X&)
|
||||
#if !defined(BOOST_NO_RVALUE_REFERENCES)
|
||||
X x2(rvalue_default<X>());
|
||||
X x3 = rvalue_default<X>();
|
||||
x2 = rvalue_default<X>();
|
||||
// This can only be done if propagate_on_container_move_assignment::value
|
||||
// is true.
|
||||
// x2 = rvalue_default<X>();
|
||||
#endif
|
||||
|
||||
X* ptr = new X();
|
||||
|
Reference in New Issue
Block a user