Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
This commit is contained in:
@@ -86,14 +86,6 @@ public:
|
||||
std::vector<T>::shrink_to_fit();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user