Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/pending/relaxed_heap.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
161 } | 161 } |
162 | 162 |
163 void remove(const value_type& x) | 163 void remove(const value_type& x) |
164 { | 164 { |
165 group* a = &index_to_group[get(id, x) / log_n]; | 165 group* a = &index_to_group[get(id, x) / log_n]; |
166 assert(groups[get(id, x)] != 0); | 166 assert(groups[get(id, x)]); |
167 a->value = x; | 167 a->value = x; |
168 a->kind = smallest_key; | 168 a->kind = smallest_key; |
169 promote(a); | 169 promote(a); |
170 smallest_value = a; | 170 smallest_value = a; |
171 pop(); | 171 pop(); |