summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-15 00:48:14 +0000
committerrubidium <rubidium@openttd.org>2008-01-15 00:48:14 +0000
commitc7f9705e4a8fee2315c853b7915b3f7dc09387d1 (patch)
treecc43357622d54bd48a8902ddb0f66febb5c745d7 /src/widgets
parentd4e8ffd7b3736fe57fbc54566c7f8b51f3182c8b (diff)
downloadopenttd-c7f9705e4a8fee2315c853b7915b3f7dc09387d1.tar.xz
(svn r11857) -Fix: some compile time warnings.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h
index 0928804ee..419c6fbc2 100644
--- a/src/widgets/dropdown_type.h
+++ b/src/widgets/dropdown_type.h
@@ -28,6 +28,7 @@ public:
StringID string; ///< String ID of item
DropDownListStringItem(StringID string, int result, bool masked) : DropDownListItem(result, masked), string(string) {}
+ virtual ~DropDownListStringItem() {}
StringID String() const;
};
@@ -40,6 +41,7 @@ public:
uint64 decode_params[10]; ///< Parameters of the string
DropDownListParamStringItem(StringID string, int result, bool masked) : DropDownListStringItem(string, result, masked) {}
+ virtual ~DropDownListParamStringItem() {}
StringID String() const;
void SetParam(uint index, uint64 value) { decode_params[index] = value; }