From ebe3b5b0733d9c5aabde27d72e4a895ed6e5bf9b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 20 Jan 2020 08:21:40 +0100 Subject: [PATCH] cc_icons: add missing virtual destructor for usage with derived classes --- src/gui/components/cc_frm_icons.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_icons.h b/src/gui/components/cc_frm_icons.h index d488134c6..b0a10d536 100644 --- a/src/gui/components/cc_frm_icons.h +++ b/src/gui/components/cc_frm_icons.h @@ -50,7 +50,7 @@ class CComponentsIconForm : public CComponentsFrmChain fb_pixel_t color_frame = COL_FRAME_PLUS_0, fb_pixel_t color_body = COL_MENUHEAD_PLUS_0, fb_pixel_t color_shadow = COL_SHADOW_PLUS_0); -// ~CComponentsIconForm(); //inherited from CComponentsForm + virtual ~CComponentsIconForm() {}; void addIcon(const std::string& icon_name); void addIcon(std::vector icon_name);