diff options
author | Henry Wilson <m3henry@googlemail.com> | 2018-09-21 22:45:44 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-03-26 20:15:57 +0000 |
commit | 9cba6f71936207f11ad0d4ed752d82966087fab9 (patch) | |
tree | d36afb33bb2e40118ed7fd7dc5c68fb70e5373f3 /src/newgrf_gui.cpp | |
parent | bfd79e59dc34314a089a0024af56d04d84456ebd (diff) | |
download | openttd-9cba6f71936207f11ad0d4ed752d82966087fab9.tar.xz |
Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index fcb04be0d..4235d3133 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1481,7 +1481,7 @@ private: } this->avails.Filter(this->string_filter); - this->avails.Compact(); + this->avails.shrink_to_fit(); this->avails.RebuildDone(); this->avails.Sort(); |