Silence -Werror,-Wnon-virtual-dtor

Change-Id: I46f7b68aded50abc0015b458507adbf84d0ffe76
This commit is contained in:
Stephan Bergmann 2016-03-04 09:05:36 +01:00
parent b955d437ca
commit e4f8d0c9c4

View File

@ -89,7 +89,7 @@ class InprocEmbedDocument_Impl : public InprocCountedObject_Impl
ComSmart< OleWrapperAdviseSink > m_pDataAdvises[DEFAULT_ARRAY_LEN];
ComSmart< OleWrapperAdviseSink > m_pViewAdvise;
class InternalCacheWrapper : public IOleCache2
class InternalCacheWrapper final: public IOleCache2
{
InprocEmbedDocument_Impl& m_rOwnDocument;
@ -98,6 +98,8 @@ class InprocEmbedDocument_Impl : public InprocCountedObject_Impl
: m_rOwnDocument( rOwnDocument )
{}
virtual ~InternalCacheWrapper() {}
/* IUnknown methods */
STDMETHOD(QueryInterface)(REFIID riid, LPVOID FAR * ppvObj);
STDMETHOD_(ULONG, AddRef)();