fix typo in new wxVector(size_t, T) ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-30 03:49:02 +00:00
parent 579213e97b
commit 8d00e34735

View File

@@ -180,7 +180,7 @@ public:
wxVector(size_type size, const value_type& v)
: m_size(0), m_capacity(0), m_values(NULL)
{
reserve(n);
reserve(size);
for ( size_t n = 0; n < size; n++ )
push_back(v);
}