Sync AMTL.
This commit is contained in:
parent
b261dde858
commit
f1b0c29815
@ -101,6 +101,9 @@ class HashSet : public AllocPolicy
|
||||
bool add(Insert &i, const K &key) {
|
||||
return table_.add(i, key);
|
||||
}
|
||||
bool add(Insert &i, Moveable<K> key) {
|
||||
return table_.add(i, key);
|
||||
}
|
||||
|
||||
// This can be used to avoid compiler constructed temporaries, since AMTL
|
||||
// does not yet support move semantics. If you use this, the key and value
|
||||
|
@ -123,7 +123,7 @@ class InlineList
|
||||
return iterator(&head_);
|
||||
}
|
||||
|
||||
void erase(Node *t) {
|
||||
void remove(Node *t) {
|
||||
t->prev_->next_ = t->next_;
|
||||
t->next_->prev_ = t->prev_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user