From 9325d63d8e55758a953f535c5f90534ab9bc01e3 Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Tue, 2 Apr 2019 21:30:44 +0200 Subject: [PATCH] Fix: Forgotten override keywords for DropDownListIconItem. --- src/widgets/dropdown_type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h index d8e9b90288..bf8638a924 100644 --- a/src/widgets/dropdown_type.h +++ b/src/widgets/dropdown_type.h @@ -89,9 +89,9 @@ class DropDownListIconItem : public DropDownListParamStringItem { public: DropDownListIconItem(SpriteID sprite, PaletteID pal, StringID string, int result, bool masked); - /* virtual */ uint Height(uint width) const; - /* virtual */ uint Width() const; - /* virtual */ void Draw(int left, int right, int top, int bottom, bool sel, Colours bg_colour) const; + uint Height(uint width) const override; + uint Width() const override; + void Draw(int left, int right, int top, int bottom, bool sel, Colours bg_colour) const override; void SetDimension(Dimension d); };