mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
Detab.
[SVN r56571]
This commit is contained in:
@ -156,7 +156,7 @@ namespace boost { namespace unordered_detail {
|
|||||||
template <class A, class G>
|
template <class A, class G>
|
||||||
inline void hash_buckets<A, G>::move(hash_buckets& other)
|
inline void hash_buckets<A, G>::move(hash_buckets& other)
|
||||||
{
|
{
|
||||||
BOOST_ASSERT(node_alloc() == other.node_alloc());
|
BOOST_ASSERT(node_alloc() == other.node_alloc());
|
||||||
if(this->buckets_) { this->delete_buckets(); }
|
if(this->buckets_) { this->delete_buckets(); }
|
||||||
this->buckets_ = other.buckets_;
|
this->buckets_ = other.buckets_;
|
||||||
this->bucket_count_ = other.bucket_count_;
|
this->bucket_count_ = other.bucket_count_;
|
||||||
|
@ -193,7 +193,7 @@ namespace boost { namespace unordered_detail {
|
|||||||
BOOST_ASSERT(this->bucket_count_ != 0);
|
BOOST_ASSERT(this->bucket_count_ != 0);
|
||||||
return static_cast<float>(this->size_)
|
return static_cast<float>(this->size_)
|
||||||
/ static_cast<float>(this->bucket_count_);
|
/ static_cast<float>(this->bucket_count_);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
// Constructors
|
// Constructors
|
||||||
|
@ -29,8 +29,8 @@ namespace test
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
class list_node
|
class list_node
|
||||||
{
|
{
|
||||||
list_node(list_node const&);
|
list_node(list_node const&);
|
||||||
list_node& operator=(list_node const&);
|
list_node& operator=(list_node const&);
|
||||||
public:
|
public:
|
||||||
T value_;
|
T value_;
|
||||||
list_node* next_;
|
list_node* next_;
|
||||||
|
Reference in New Issue
Block a user