[SVN r56571]
This commit is contained in:
Daniel James
2009-10-04 10:37:56 +00:00
parent fe3d612fe0
commit 373791d0b2
3 changed files with 4 additions and 4 deletions

View File

@ -156,7 +156,7 @@ namespace boost { namespace unordered_detail {
template <class A, class G>
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(); }
this->buckets_ = other.buckets_;
this->bucket_count_ = other.bucket_count_;

View File

@ -193,7 +193,7 @@ namespace boost { namespace unordered_detail {
BOOST_ASSERT(this->bucket_count_ != 0);
return static_cast<float>(this->size_)
/ static_cast<float>(this->bucket_count_);
}
}
////////////////////////////////////////////////////////////////////////////
// Constructors

View File

@ -29,8 +29,8 @@ namespace test
template <typename T>
class list_node
{
list_node(list_node const&);
list_node& operator=(list_node const&);
list_node(list_node const&);
list_node& operator=(list_node const&);
public:
T value_;
list_node* next_;