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