From 99584f314758d7ee3ef5faead704546ad0fdc10a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 Apr 2025 13:25:29 +0300 Subject: PROTO_INTERFACE: destructor should be also declared as virtual --- include/m_protoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_protoint.h b/include/m_protoint.h index 4d3a908168..1e4fa8da62 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -89,7 +89,7 @@ public: HGENMENU m_hmiMainMenu = 0; // if protocol menus are displayed in the main menu, this is the root PROTO_INTERFACE(const char *pszModuleName, const wchar_t *ptszUserName); - ~PROTO_INTERFACE(); + virtual ~PROTO_INTERFACE(); ////////////////////////////////////////////////////////////////////////////////////// // Helpers -- cgit v1.2.3