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