Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()

This commit is contained in:
Henry Wilson
2018-09-21 22:45:44 +01:00
committed by PeterN
parent bfd79e59dc
commit 9cba6f7193
15 changed files with 18 additions and 26 deletions

View File

@@ -397,7 +397,7 @@ class NetworkContentListWindow : public Window, ContentCallback {
this->SetWidgetDisabledState(WID_NCL_SEARCH_EXTERNAL, this->auto_select && all_available);
this->FilterContentList();
this->content.Compact();
this->content.shrink_to_fit();
this->content.RebuildDone();
this->SortContentList();