summaryrefslogtreecommitdiff
path: root/src/widgets/dropdown_type.h
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-03-04 20:49:33 +0000
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commitcc62f4163f230ed82ef3b04187987d3e380cd570 (patch)
treec4e271f72ae231d9934f215624054d605665ca6c /src/widgets/dropdown_type.h
parentc01a2e2a81d8e7bcd47d46292ed0b7d452081c31 (diff)
downloadopenttd-cc62f4163f230ed82ef3b04187987d3e380cd570.tar.xz
Cleanup: Remove unused size template parameters from SmallMap and Auto[Free|Delete]SmallVector
Diffstat (limited to 'src/widgets/dropdown_type.h')
-rw-r--r--src/widgets/dropdown_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h
index 56510b0ab..d8e9b9028 100644
--- a/src/widgets/dropdown_type.h
+++ b/src/widgets/dropdown_type.h
@@ -98,7 +98,7 @@ public:
/**
* A drop down list is a collection of drop down list items.
*/
-typedef AutoDeleteSmallVector<const DropDownListItem *, 4> DropDownList;
+typedef AutoDeleteSmallVector<const DropDownListItem *> DropDownList;
void ShowDropDownListAt(Window *w, const DropDownList *list, int selected, int button, Rect wi_rect, Colours wi_colour, bool auto_width = false, bool instant_close = false);