summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2019-03-10 00:12:45 +0000
committerCharles Pigott <charlespigott@googlemail.com>2019-03-10 09:20:11 +0000
commitfb35cb5ed2735ad22d8a2bee9df2a174994ed319 (patch)
treee8370ce0d9de9b1b3a16d248ca7e2d4a5a4e1037 /src/toolbar_gui.cpp
parent303cfd86a301bcd66a6fec48dec944afd2174231 (diff)
downloadopenttd-fb35cb5ed2735ad22d8a2bee9df2a174994ed319.tar.xz
Remove: Unnecessary virtual destructors on drop down list items.
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index e0f7b0244..69cad42ff 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -97,8 +97,6 @@ public:
this->checkmark_width = GetStringBoundingBox(STR_JUST_CHECKMARK).width + 3;
}
- virtual ~DropDownListCheckedItem() {}
-
uint Width() const
{
return DropDownListStringItem::Width() + this->checkmark_width;
@@ -129,8 +127,6 @@ public:
this->lock_size = GetSpriteSize(SPR_LOCK);
}
- virtual ~DropDownListCompanyItem() {}
-
bool Selectable() const
{
return true;