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:
@@ -180,7 +180,7 @@ public:
|
|||||||
wxVector(size_type size, const value_type& v)
|
wxVector(size_type size, const value_type& v)
|
||||||
: m_size(0), m_capacity(0), m_values(NULL)
|
: m_size(0), m_capacity(0), m_values(NULL)
|
||||||
{
|
{
|
||||||
reserve(n);
|
reserve(size);
|
||||||
for ( size_t n = 0; n < size; n++ )
|
for ( size_t n = 0; n < size; n++ )
|
||||||
push_back(v);
|
push_back(v);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user