From 9cba6f71936207f11ad0d4ed752d82966087fab9 Mon Sep 17 00:00:00 2001 From: Henry Wilson Date: Fri, 21 Sep 2018 22:45:44 +0100 Subject: Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit() --- src/core/smallvec_type.hpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/core/smallvec_type.hpp') 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 @@ -86,14 +86,6 @@ public: std::vector::shrink_to_fit(); } - /** - * Compact the list down to the smallest block size boundary. - */ - inline void Compact() - { - std::vector::shrink_to_fit(); - } - /** * Append an item and return it. * @param to_add the number of items to append -- cgit v1.2.3-70-g09d2