summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-11 13:25:29 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-11 13:25:29 +0300
commit99584f314758d7ee3ef5faead704546ad0fdc10a (patch)
tree352b27f8057d4d44d5d4b9bccf2f376a14f8a2df
parent1761aa0337e37b8a1bb330aad12231f593362192 (diff)
PROTO_INTERFACE: destructor should be also declared as virtual
-rw-r--r--include/m_protoint.h2
-rw-r--r--libs/win32/mir_app.libbin304322 -> 304322 bytes
-rw-r--r--libs/win64/mir_app.libbin304444 -> 304444 bytes
-rw-r--r--src/mir_app/src/mir_app.def2
-rw-r--r--src/mir_app/src/mir_app64.def2
5 files changed, 3 insertions, 3 deletions
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
diff --git a/libs/win32/mir_app.lib b/libs/win32/mir_app.lib
index b72e0b328d..c9b3d74fe4 100644
--- a/libs/win32/mir_app.lib
+++ b/libs/win32/mir_app.lib
Binary files differ
diff --git a/libs/win64/mir_app.lib b/libs/win64/mir_app.lib
index 39ebcfbd91..d1c5d77fb0 100644
--- a/libs/win64/mir_app.lib
+++ b/libs/win64/mir_app.lib
Binary files differ
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index db67abbdcf..66816d653b 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -379,7 +379,7 @@ Srmm_GetColorTable @496
?AddBySearch@Contact@@YGXPBDPAUPROTOSEARCHRESULT@@PAUHWND__@@@Z @499 NONAME
?setAllContactStatuses@PROTO_INTERFACE@@QAEXH_N@Z @500 NONAME
??0PROTO_INTERFACE@@QAE@PBDPB_W@Z @501 NONAME
-??1PROTO_INTERFACE@@QAE@XZ @502 NONAME
+??1PROTO_INTERFACE@@UAE@XZ @502 NONAME
Proto_AuthRecv @503
Image_Load @504
Image_LoadFromMem @505
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 4b314b0a54..4873b014dc 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -379,7 +379,7 @@ Srmm_GetColorTable @496
?AddBySearch@Contact@@YAXPEBDPEAUPROTOSEARCHRESULT@@PEAUHWND__@@@Z @499 NONAME
?setAllContactStatuses@PROTO_INTERFACE@@QEAAXH_N@Z @500 NONAME
??0PROTO_INTERFACE@@QEAA@PEBDPEB_W@Z @501 NONAME
-??1PROTO_INTERFACE@@QEAA@XZ @502 NONAME
+??1PROTO_INTERFACE@@UEAA@XZ @502 NONAME
Proto_AuthRecv @503
Image_Load @504
Image_LoadFromMem @505