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:
@@ -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_);
|
||||||
@@ -255,7 +256,7 @@ public:
|
|||||||
__maybenull void* clientDrawingContext,
|
__maybenull void* clientDrawingContext,
|
||||||
__out DWRITE_MATRIX* transform)
|
__out DWRITE_MATRIX* transform)
|
||||||
{
|
{
|
||||||
//forward the render target's transform
|
// forward the render target's transform
|
||||||
pRenderTarget_->GetCurrentTransform(transform);
|
pRenderTarget_->GetCurrentTransform(transform);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
@@ -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