Skip to content

Commit e0fd2aa

Browse files
committed
patch 7.4.1442
Problem: MS-Windows: more compilation warnings for destructor. Solution: Add "virtual". (Ken Takata)
1 parent e26643e commit e0fd2aa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/if_ole.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static CVim *app = 0;
9696
class CVim : public IVim
9797
{
9898
public:
99-
~CVim();
99+
virtual ~CVim();
100100
static CVim *Create(int *pbDoRestart);
101101

102102
// IUnknown members
@@ -432,6 +432,7 @@ class CVimCF : public IClassFactory
432432
{
433433
public:
434434
static CVimCF *Create();
435+
virtual ~CVimCF() {};
435436

436437
STDMETHOD(QueryInterface)(REFIID riid, void ** ppv);
437438
STDMETHOD_(unsigned long, AddRef)(void);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1442,
746748
/**/
747749
1441,
748750
/**/

0 commit comments

Comments
 (0)