From c1108bd2931adf01471b7d1bcc3c214190c1f822 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 15 Jan 2008 00:48:14 +0000 Subject: (svn r11857) -Fix: some compile time warnings. --- src/widgets/dropdown_type.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3-54-g00ecf