diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-27 21:59:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-27 21:59:51 +0100 |
commit | e0fd2aa8f6544f9cf8286c707be3fb1c66c609e6 (patch) | |
tree | 57bef15801c720d42696adb5cba5b6effdba69fe /src/if_ole.cpp | |
parent | e26643e6bcd6c6c42f5eae78cee2e7950cd3f629 (diff) | |
download | vim-git-e0fd2aa8f6544f9cf8286c707be3fb1c66c609e6.tar.gz |
patch 7.4.1442v7.4.1442
Problem: MS-Windows: more compilation warnings for destructor.
Solution: Add "virtual". (Ken Takata)
Diffstat (limited to 'src/if_ole.cpp')
-rw-r--r-- | src/if_ole.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/if_ole.cpp b/src/if_ole.cpp index aabf6bb84..a93abe0a8 100644 --- a/src/if_ole.cpp +++ b/src/if_ole.cpp @@ -96,7 +96,7 @@ static CVim *app = 0; class CVim : public IVim { public: - ~CVim(); + virtual ~CVim(); static CVim *Create(int *pbDoRestart); // IUnknown members @@ -432,6 +432,7 @@ class CVimCF : public IClassFactory { public: static CVimCF *Create(); + virtual ~CVimCF() {}; STDMETHOD(QueryInterface)(REFIID riid, void ** ppv); STDMETHOD_(unsigned long, AddRef)(void); |