diff options
author | Henry Wilson <m3henry@googlemail.com> | 2019-03-03 17:30:09 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-03-26 20:15:57 +0000 |
commit | c01a2e2a81d8e7bcd47d46292ed0b7d452081c31 (patch) | |
tree | b38441ec8469136a6a2252f8c856d22f14ee689e /src/timetable_cmd.cpp | |
parent | 6570f7989f5c1fc5a1276505a8e6efce7838efd9 (diff) | |
download | openttd-c01a2e2a81d8e7bcd47d46292ed0b7d452081c31.tar.xz |
Codechange: Removed SmallVector completely
Diffstat (limited to 'src/timetable_cmd.cpp')
-rw-r--r-- | src/timetable_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_cmd.cpp b/src/timetable_cmd.cpp index 7e718c717..6524260ff 100644 --- a/src/timetable_cmd.cpp +++ b/src/timetable_cmd.cpp @@ -281,7 +281,7 @@ CommandCost CmdSetTimetableStart(TileIndex tile, DoCommandFlag flags, uint32 p1, if (timetable_all && !v->orders.list->IsCompleteTimetable()) return CMD_ERROR; if (flags & DC_EXEC) { - SmallVector<Vehicle *, 8> vehs; + std::vector<Vehicle *> vehs; if (timetable_all) { for (Vehicle *w = v->orders.list->GetFirstSharedVehicle(); w != NULL; w = w->NextShared()) { |