Update treap.hh
This commit is contained in:
parent
a24ae5adb6
commit
fcc08e070f
|
@ -86,7 +86,7 @@ public:
|
|||
|
||||
void clear() {
|
||||
_size = root = cnt = 0;
|
||||
fill(fhq.begin(), fhq.end(), {});
|
||||
fill(fhq.begin(), fhq.end(), Node());
|
||||
}
|
||||
|
||||
void insert(value_type val) {
|
||||
|
|
Loading…
Reference in New Issue