Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-01-01 18:44:16


Author: danieljames
Date: 2008-01-01 18:44:15 EST (Tue, 01 Jan 2008)
New Revision: 42409
URL: http://svn.boost.org/trac/boost/changeset/42409

Log:
Fix some merge errors.
Text files modified:
   branches/unordered/refactor/boost/unordered/detail/hash_table.hpp | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: branches/unordered/refactor/boost/unordered/detail/hash_table.hpp
==============================================================================
--- branches/unordered/refactor/boost/unordered/detail/hash_table.hpp (original)
+++ branches/unordered/refactor/boost/unordered/detail/hash_table.hpp 2008-01-01 18:44:15 EST (Tue, 01 Jan 2008)
@@ -407,6 +407,7 @@
 
             struct node;
             typedef std::size_t size_type;
+ typedef std::ptrdiff_t difference_type;
 
             typedef Alloc value_allocator;
 
@@ -608,7 +609,7 @@
 
                 void increment_group()
                 {
- node_ = data::next_group(node_);
+ node_ = hash_table_data::next_group(node_);
 
                     while (!node_) {
                         ++bucket_;
@@ -1631,7 +1632,7 @@
             {
                 key_type const& k = extract_key(v);
                 size_type hash_value = hash_function()(k);
- bucket_ptr bucket = this->buckets_from_hash(hash_value);
+ bucket_ptr bucket = this->bucket_from_hash(hash_value);
                 link_ptr position = find_iterator(bucket, k);
 
                 // Create the node before rehashing in case it throws an
@@ -1642,7 +1643,7 @@
                 // reserve has basic exception safety if the hash function
                 // throws, strong otherwise.
                 if(reserve(size() + 1))
- bucket = this->buckets_from_hash(hash_value);
+ bucket = this->bucket_from_hash(hash_value);
 
                 // Nothing after the point can throw.
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk