Changeset 758:28cfac049a6a in lemon for lemon/bucket_heap.h
- Timestamp:
- 07/08/09 17:47:01 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bucket_heap.h
r757 r758 143 143 private: 144 144 145 void relocate _last(int idx) {145 void relocateLast(int idx) { 146 146 if (idx + 1 < int(_data.size())) { 147 147 _data[idx] = _data.back(); … … 244 244 _iim[_data[idx].item] = -2; 245 245 unlace(idx); 246 relocate _last(idx);246 relocateLast(idx); 247 247 } 248 248 … … 257 257 _iim[_data[idx].item] = -2; 258 258 unlace(idx); 259 relocate _last(idx);259 relocateLast(idx); 260 260 } 261 261
Note: See TracChangeset
for help on using the changeset viewer.