1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2025-12-23 13:12:40 +01:00

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

@@ -267,7 +267,7 @@ protected:
this->servers.SetFilterState(false);
}
this->servers.Compact();
this->servers.shrink_to_fit();
this->servers.RebuildDone();
this->vscroll->SetCount(this->servers.Length());