diff --git a/include/pocketpy/common/vector.hpp b/include/pocketpy/common/vector.hpp index 3d54ccdf..12600d65 100644 --- a/include/pocketpy/common/vector.hpp +++ b/include/pocketpy/common/vector.hpp @@ -184,7 +184,6 @@ struct vector { void clear() { std::destroy(begin(), end()); _size = 0; - _capacity = 0; } void reserve(int cap) {