mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1610
Problem: Compiler warnings for non-virtual destructor. Solution: Mark the classe final. (Ken Takata)
This commit is contained in:
@@ -33,6 +33,12 @@
|
||||
# define __out SAL__out
|
||||
#endif
|
||||
|
||||
#if (defined(_MSC_VER) && (_MSC_VER >= 1700)) || (__cplusplus >= 201103L)
|
||||
# define FINAL final
|
||||
#else
|
||||
# define FINAL
|
||||
#endif
|
||||
|
||||
#ifdef DYNAMIC_DIRECTX
|
||||
extern "C" HINSTANCE vimLoadLib(char *name);
|
||||
|
||||
@@ -222,7 +228,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class GdiTextRenderer : public IDWriteTextRenderer
|
||||
class GdiTextRenderer FINAL : public IDWriteTextRenderer
|
||||
{
|
||||
public:
|
||||
GdiTextRenderer(
|
||||
|
Reference in New Issue
Block a user