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/core | |
parent | bfd79e59dc34314a089a0024af56d04d84456ebd (diff) | |
download | openttd-9cba6f71936207f11ad0d4ed752d82966087fab9.tar.xz |
Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/smallvec_type.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/smallvec_type.hpp b/src/core/smallvec_type.hpp index 89fdd1369..9ce63e3f3 100644 --- a/src/core/smallvec_type.hpp +++ b/src/core/smallvec_type.hpp @@ -87,14 +87,6 @@ public: } /** - * Compact the list down to the smallest block size boundary. - */ - inline void Compact() - { - std::vector<T>::shrink_to_fit(); - } - - /** * Append an item and return it. * @param to_add the number of items to append * @return pointer to newly allocated item |