Use wxVector::shrink_to_fit() directly
Don't use deprecated wxShrinkToFit() as now wxVector always has this member function because it is available even in STL build when using C++11.
This commit is contained in:
parent
dd404fdd77
commit
b83178086d
2 changed files with 2 additions and 6 deletions
|
|
@ -1728,7 +1728,7 @@ wxListLineData *wxListMainWindow::GetDummyLine() const
|
|||
|
||||
// don't waste extra memory -- there never going to be anything
|
||||
// else/more in this array
|
||||
wxShrinkToFit(self->m_lines);
|
||||
self->m_lines.shrink_to_fit();
|
||||
}
|
||||
|
||||
return m_lines[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue