0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1428

Problem:    Compiler warning for non-virtual destructor.
Solution:   Make it virtual. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2016-02-27 15:27:23 +01:00
parent 43acbce1bb
commit edb4f2b360
2 changed files with 5 additions and 2 deletions

View File

@@ -237,7 +237,8 @@ public:
AddRef();
}
~GdiTextRenderer()
// add "virtual" to avoid a compiler warning
virtual ~GdiTextRenderer()
{
SafeRelease(&pRenderTarget_);
SafeRelease(&pRenderingParams_);

View File

@@ -748,6 +748,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1428,
/**/
1427,
/**/