diff options
author | peter1138 <peter1138@openttd.org> | 2019-03-10 00:12:45 +0000 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-03-10 09:20:11 +0000 |
commit | fb35cb5ed2735ad22d8a2bee9df2a174994ed319 (patch) | |
tree | e8370ce0d9de9b1b3a16d248ca7e2d4a5a4e1037 /src/company_gui.cpp | |
parent | 303cfd86a301bcd66a6fec48dec944afd2174231 (diff) | |
download | openttd-fb35cb5ed2735ad22d8a2bee9df2a174994ed319.tar.xz |
Remove: Unnecessary virtual destructors on drop down list items.
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 4d5e45d50..74e1cab57 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -519,8 +519,6 @@ class DropDownListColourItem : public DropDownListItem { public: DropDownListColourItem(int result, bool masked) : DropDownListItem(result, masked) {} - virtual ~DropDownListColourItem() {} - StringID String() const { return this->result >= COLOUR_END ? STR_COLOUR_DEFAULT : _colour_dropdown[this->result]; |