From 1314e7178180cb06ddf37157489a93cfcfa4e72c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 23 Jan 2020 21:15:51 +0100 Subject: [PATCH] cc_icons: add missing virtual destructor for usage with derived classes Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/dad728382e737ecb96ff876c5f0c5a3e80161a91 Author: Thilo Graf Date: 2020-01-23 (Thu, 23 Jan 2020) --- 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);