mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 03:19:10 +00:00
Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
This commit is contained in:
@@ -1143,7 +1143,7 @@ private:
|
||||
*this->companies.Append() = c;
|
||||
}
|
||||
|
||||
this->companies.Compact();
|
||||
this->companies.shrink_to_fit();
|
||||
this->companies.RebuildDone();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user