summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2018-09-23 16:43:00 +0100
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commitbad2c2154b97613bd6a045cfe1f05cff876da1e4 (patch)
tree2c3281a3c95ca1601966780e42847f3225830a5d /src/vehicle_gui.cpp
parenta690936ed75e96627be0e2ecafee2360a71e8d3c (diff)
downloadopenttd-bad2c2154b97613bd6a045cfe1f05cff876da1e4.tar.xz
Codechange: Replaced SmallVector::Resize() with std::vector::resize()
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 36f08493e..95f0a28ec 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -482,7 +482,7 @@ struct RefitWindow : public Window {
/* 0xFF item is in front, other subtypes are sorted. So just truncate the list in the right spot */
for (uint i = 1; i < l.size(); i++) {
if (l[i].subtype >= refit_cyc) {
- l.Resize(i);
+ l.resize(i);
break;
}
}