mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.1428
Problem: Compiler warning for non-virtual destructor. Solution: Make it virtual. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -237,7 +237,8 @@ public:
|
|||||||
AddRef();
|
AddRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
~GdiTextRenderer()
|
// add "virtual" to avoid a compiler warning
|
||||||
|
virtual ~GdiTextRenderer()
|
||||||
{
|
{
|
||||||
SafeRelease(&pRenderTarget_);
|
SafeRelease(&pRenderTarget_);
|
||||||
SafeRelease(&pRenderingParams_);
|
SafeRelease(&pRenderingParams_);
|
||||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1428,
|
||||||
/**/
|
/**/
|
||||||
1427,
|
1427,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user