mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-09 21:20:17 +00:00
Fix clear.
This commit is contained in:
parent
96ed25291a
commit
78d203bdf4
@ -184,7 +184,6 @@ struct vector {
|
||||
void clear() {
|
||||
std::destroy(begin(), end());
|
||||
_size = 0;
|
||||
_capacity = 0;
|
||||
}
|
||||
|
||||
void reserve(int cap) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user