mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 10:22:39 +01: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