Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
This commit is contained in:
@@ -657,7 +657,7 @@ private:
|
||||
*this->towns.Append() = t;
|
||||
}
|
||||
|
||||
this->towns.Compact();
|
||||
this->towns.shrink_to_fit();
|
||||
this->towns.RebuildDone();
|
||||
this->vscroll->SetCount(this->towns.Length()); // Update scrollbar as well.
|
||||
}
|
||||
|
Reference in New Issue
Block a user