1*7766832aSHerbert Dürr--- misc/boost_1_55_0/boost/unordered/detail/equivalent.hpp 2012-12-05 23:06:57.000000000 +0100 2*7766832aSHerbert Dürr+++ misc/build/boost_1_55_0/boost/unordered/detail/equivalent.hpp 2014-01-07 10:33:59.550621750 +0100 3*7766832aSHerbert Dürr@@ -534,11 +534,11 @@ 4*7766832aSHerbert Dürr } 5*7766832aSHerbert Dürr 6*7766832aSHerbert Dürr node_pointer first_node = static_cast<node_pointer>(prev->next_); 7*7766832aSHerbert Dürr- link_pointer end = first_node->group_prev_->next_; 8*7766832aSHerbert Dürr+ link_pointer end_var = first_node->group_prev_->next_; 9*7766832aSHerbert Dürr 10*7766832aSHerbert Dürr- std::size_t count = this->delete_nodes(prev, end); 11*7766832aSHerbert Dürr+ std::size_t count_var = this->delete_nodes(prev, end_var); 12*7766832aSHerbert Dürr this->fix_bucket(bucket_index, prev); 13*7766832aSHerbert Dürr- return count; 14*7766832aSHerbert Dürr+ return count_var; 15*7766832aSHerbert Dürr } 16*7766832aSHerbert Dürr 17*7766832aSHerbert Dürr iterator erase(c_iterator r) 18*7766832aSHerbert Dürr@@ -557,21 +557,21 @@ 19*7766832aSHerbert Dürr return iterator(r2.node_); 20*7766832aSHerbert Dürr } 21*7766832aSHerbert Dürr 22*7766832aSHerbert Dürr- link_pointer erase_nodes(node_pointer begin, node_pointer end) 23*7766832aSHerbert Dürr+ link_pointer erase_nodes(node_pointer begin_arg, node_pointer end_arg) 24*7766832aSHerbert Dürr { 25*7766832aSHerbert Dürr- std::size_t bucket_index = this->hash_to_bucket(begin->hash_); 26*7766832aSHerbert Dürr+ std::size_t bucket_index = this->hash_to_bucket(begin_arg->hash_); 27*7766832aSHerbert Dürr 28*7766832aSHerbert Dürr- // Split the groups containing 'begin' and 'end'. 29*7766832aSHerbert Dürr+ // Split the groups containing 'begin_arg' and 'end_arg'. 30*7766832aSHerbert Dürr // And get the pointer to the node before begin while 31*7766832aSHerbert Dürr // we're at it. 32*7766832aSHerbert Dürr- link_pointer prev = split_groups(begin, end); 33*7766832aSHerbert Dürr+ link_pointer prev = split_groups(begin_arg, end_arg); 34*7766832aSHerbert Dürr 35*7766832aSHerbert Dürr- // If we don't have a 'prev' it means that begin is at the 36*7766832aSHerbert Dürr+ // If we don't have a 'prev' it means that begin_arg is at the 37*7766832aSHerbert Dürr // beginning of a block, so search through the blocks in the 38*7766832aSHerbert Dürr // same bucket. 39*7766832aSHerbert Dürr if (!prev) { 40*7766832aSHerbert Dürr prev = this->get_previous_start(bucket_index); 41*7766832aSHerbert Dürr- while (prev->next_ != begin) 42*7766832aSHerbert Dürr+ while (prev->next_ != begin_arg) 43*7766832aSHerbert Dürr prev = static_cast<node_pointer>(prev->next_)->group_prev_; 44*7766832aSHerbert Dürr } 45*7766832aSHerbert Dürr 46*7766832aSHerbert Dürr@@ -581,24 +581,24 @@ 47*7766832aSHerbert Dürr static_cast<node_pointer>(prev->next_)->group_prev_->next_; 48*7766832aSHerbert Dürr this->delete_nodes(prev, group_end); 49*7766832aSHerbert Dürr bucket_index = this->fix_bucket(bucket_index, prev); 50*7766832aSHerbert Dürr- } while(prev->next_ != end); 51*7766832aSHerbert Dürr+ } while(prev->next_ != end_arg); 52*7766832aSHerbert Dürr 53*7766832aSHerbert Dürr return prev; 54*7766832aSHerbert Dürr } 55*7766832aSHerbert Dürr 56*7766832aSHerbert Dürr- static link_pointer split_groups(node_pointer begin, node_pointer end) 57*7766832aSHerbert Dürr+ static link_pointer split_groups(node_pointer begin_arg, node_pointer end_arg) 58*7766832aSHerbert Dürr { 59*7766832aSHerbert Dürr- node_pointer prev = begin->group_prev_; 60*7766832aSHerbert Dürr- if (prev->next_ != begin) prev = node_pointer(); 61*7766832aSHerbert Dürr+ node_pointer prev = begin_arg->group_prev_; 62*7766832aSHerbert Dürr+ if (prev->next_ != begin_arg) prev = node_pointer(); 63*7766832aSHerbert Dürr 64*7766832aSHerbert Dürr- if (end) { 65*7766832aSHerbert Dürr- node_pointer first = end; 66*7766832aSHerbert Dürr- while (first != begin && first->group_prev_->next_ == first) { 67*7766832aSHerbert Dürr+ if (end_arg) { 68*7766832aSHerbert Dürr+ node_pointer first = end_arg; 69*7766832aSHerbert Dürr+ while (first != begin_arg && first->group_prev_->next_ == first) { 70*7766832aSHerbert Dürr first = first->group_prev_; 71*7766832aSHerbert Dürr } 72*7766832aSHerbert Dürr 73*7766832aSHerbert Dürr- boost::swap(first->group_prev_, end->group_prev_); 74*7766832aSHerbert Dürr- if (first == begin) return prev; 75*7766832aSHerbert Dürr+ boost::swap(first->group_prev_, end_arg->group_prev_); 76*7766832aSHerbert Dürr+ if (first == begin_arg) return prev; 77*7766832aSHerbert Dürr } 78*7766832aSHerbert Dürr 79*7766832aSHerbert Dürr if (prev) { 80*7766832aSHerbert Dürr@@ -606,7 +606,7 @@ 81*7766832aSHerbert Dürr while (first->group_prev_->next_ == first) { 82*7766832aSHerbert Dürr first = first->group_prev_; 83*7766832aSHerbert Dürr } 84*7766832aSHerbert Dürr- boost::swap(first->group_prev_, begin->group_prev_); 85*7766832aSHerbert Dürr+ boost::swap(first->group_prev_, begin_arg->group_prev_); 86*7766832aSHerbert Dürr } 87*7766832aSHerbert Dürr 88*7766832aSHerbert Dürr return prev; 89*7766832aSHerbert Dürr--- misc/boost_1_55_0/boost/unordered/detail/table.hpp 2013-08-18 11:44:14.000000000 +0200 90*7766832aSHerbert Dürr+++ misc/build/boost_1_55_0/boost/unordered/detail/table.hpp 2014-01-07 10:18:27.862432325 +0100 91*7766832aSHerbert Dürr@@ -257,9 +257,9 @@ 92*7766832aSHerbert Dürr return prev ? iterator(prev->next_) : iterator(); 93*7766832aSHerbert Dürr } 94*7766832aSHerbert Dürr 95*7766832aSHerbert Dürr- std::size_t hash_to_bucket(std::size_t hash) const 96*7766832aSHerbert Dürr+ std::size_t hash_to_bucket(std::size_t hash_arg) const 97*7766832aSHerbert Dürr { 98*7766832aSHerbert Dürr- return policy::to_bucket(bucket_count_, hash); 99*7766832aSHerbert Dürr+ return policy::to_bucket(bucket_count_, hash_arg); 100*7766832aSHerbert Dürr } 101*7766832aSHerbert Dürr 102*7766832aSHerbert Dürr float load_factor() const 103*7766832aSHerbert Dürr@@ -655,8 +655,8 @@ 104*7766832aSHerbert Dürr // assign_nodes takes ownership of the container's elements, 105*7766832aSHerbert Dürr // assigning to them if possible, and deleting any that are 106*7766832aSHerbert Dürr // left over. 107*7766832aSHerbert Dürr- assign_nodes<table> assign(*this); 108*7766832aSHerbert Dürr- table_impl::fill_buckets(x.begin(), *this, assign); 109*7766832aSHerbert Dürr+ assign_nodes<table> assign_var(*this); 110*7766832aSHerbert Dürr+ table_impl::fill_buckets(x.begin(), *this, assign_var); 111*7766832aSHerbert Dürr } 112*7766832aSHerbert Dürr 113*7766832aSHerbert Dürr void assign(table const& x, true_type) 114*7766832aSHerbert Dürr@@ -730,9 +730,9 @@ 115*7766832aSHerbert Dürr // move_assign_nodes takes ownership of the container's 116*7766832aSHerbert Dürr // elements, assigning to them if possible, and deleting 117*7766832aSHerbert Dürr // any that are left over. 118*7766832aSHerbert Dürr- move_assign_nodes<table> assign(*this); 119*7766832aSHerbert Dürr+ move_assign_nodes<table> assign_var(*this); 120*7766832aSHerbert Dürr node_holder<node_allocator> nodes(x); 121*7766832aSHerbert Dürr- table_impl::fill_buckets(nodes.begin(), *this, assign); 122*7766832aSHerbert Dürr+ table_impl::fill_buckets(nodes.begin(), *this, assign_var); 123*7766832aSHerbert Dürr } 124*7766832aSHerbert Dürr } 125*7766832aSHerbert Dürr 126*7766832aSHerbert Dürr--- misc/boost_1_55_0/boost/unordered/detail/unique.hpp 2013-08-18 11:44:14.000000000 +0200 127*7766832aSHerbert Dürr+++ misc/build/boost_1_55_0/boost/unordered/detail/unique.hpp 2014-01-07 10:18:27.865432217 +0100 128*7766832aSHerbert Dürr@@ -529,9 +529,9 @@ 129*7766832aSHerbert Dürr 130*7766832aSHerbert Dürr link_pointer end = static_cast<node_pointer>(prev->next_)->next_; 131*7766832aSHerbert Dürr 132*7766832aSHerbert Dürr- std::size_t count = this->delete_nodes(prev, end); 133*7766832aSHerbert Dürr+ std::size_t count_var = this->delete_nodes(prev, end); 134*7766832aSHerbert Dürr this->fix_bucket(bucket_index, prev); 135*7766832aSHerbert Dürr- return count; 136*7766832aSHerbert Dürr+ return count_var; 137*7766832aSHerbert Dürr } 138*7766832aSHerbert Dürr 139*7766832aSHerbert Dürr iterator erase(c_iterator r) 140*7766832aSHerbert Dürr@@ -550,19 +550,19 @@ 141*7766832aSHerbert Dürr return iterator(r2.node_); 142*7766832aSHerbert Dürr } 143*7766832aSHerbert Dürr 144*7766832aSHerbert Dürr- void erase_nodes(node_pointer begin, node_pointer end) 145*7766832aSHerbert Dürr+ void erase_nodes(node_pointer begin_arg, node_pointer end_arg) 146*7766832aSHerbert Dürr { 147*7766832aSHerbert Dürr- std::size_t bucket_index = this->hash_to_bucket(begin->hash_); 148*7766832aSHerbert Dürr+ std::size_t bucket_index = this->hash_to_bucket(begin_arg->hash_); 149*7766832aSHerbert Dürr 150*7766832aSHerbert Dürr- // Find the node before begin. 151*7766832aSHerbert Dürr+ // Find the node before begin_arg 152*7766832aSHerbert Dürr link_pointer prev = this->get_previous_start(bucket_index); 153*7766832aSHerbert Dürr- while(prev->next_ != begin) prev = prev->next_; 154*7766832aSHerbert Dürr+ while(prev->next_ != begin_arg) prev = prev->next_; 155*7766832aSHerbert Dürr 156*7766832aSHerbert Dürr // Delete the nodes. 157*7766832aSHerbert Dürr do { 158*7766832aSHerbert Dürr this->delete_node(prev); 159*7766832aSHerbert Dürr bucket_index = this->fix_bucket(bucket_index, prev); 160*7766832aSHerbert Dürr- } while (prev->next_ != end); 161*7766832aSHerbert Dürr+ } while (prev->next_ != end_arg); 162*7766832aSHerbert Dürr } 163*7766832aSHerbert Dürr 164*7766832aSHerbert Dürr //////////////////////////////////////////////////////////////////////// 165