Implement Vector::clear().

This commit is contained in:
Bartosz Taudul 2017-10-19 23:25:49 +02:00
parent cf94b1d2e8
commit 82476a310c

View File

@ -126,6 +126,11 @@ public:
Realloc(); Realloc();
} }
void clear()
{
m_size = 0;
}
private: private:
void AllocMore() void AllocMore()
{ {