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/group_gui.cpp | |
parent | bfd79e59dc34314a089a0024af56d04d84456ebd (diff) | |
download | openttd-9cba6f71936207f11ad0d4ed752d82966087fab9.tar.xz |
Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index bd8f37ec5..3a5aa0eea 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -184,7 +184,7 @@ private: AddChildren(&list, INVALID_GROUP, 0); - this->groups.Compact(); + this->groups.shrink_to_fit(); this->groups.RebuildDone(); } |