# HG changeset patch # User Christian Brabandt # Date 1456583405 -3600 # Node ID 770774e6601126d678b45bffb00d21145573d160 # Parent ea5f9d5ff9ed527c990d8bffafd8ce212e81f2f4 commit https://github.com/vim/vim/commit/edb4f2b3601b0abd47091606269c0ac3244a805b Author: Bram Moolenaar Date: Sat Feb 27 15:27:23 2016 +0100 patch 7.4.1428 Problem: Compiler warning for non-virtual destructor. Solution: Make it virtual. (Yasuhiro Matsumoto) diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp --- a/src/gui_dwrite.cpp +++ b/src/gui_dwrite.cpp @@ -237,7 +237,8 @@ public: AddRef(); } - ~GdiTextRenderer() + // add "virtual" to avoid a compiler warning + virtual ~GdiTextRenderer() { SafeRelease(&pRenderTarget_); SafeRelease(&pRenderingParams_); @@ -255,7 +256,7 @@ public: __maybenull void* clientDrawingContext, __out DWRITE_MATRIX* transform) { - //forward the render target's transform + // forward the render target's transform pRenderTarget_->GetCurrentTransform(transform); return S_OK; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1428, +/**/ 1427, /**/ 1426,