Silence -Werror,-Wnon-virtual-dtor
Change-Id: I46f7b68aded50abc0015b458507adbf84d0ffe76
This commit is contained in:
@@ -89,7 +89,7 @@ class InprocEmbedDocument_Impl : public InprocCountedObject_Impl
|
|||||||
ComSmart< OleWrapperAdviseSink > m_pDataAdvises[DEFAULT_ARRAY_LEN];
|
ComSmart< OleWrapperAdviseSink > m_pDataAdvises[DEFAULT_ARRAY_LEN];
|
||||||
ComSmart< OleWrapperAdviseSink > m_pViewAdvise;
|
ComSmart< OleWrapperAdviseSink > m_pViewAdvise;
|
||||||
|
|
||||||
class InternalCacheWrapper : public IOleCache2
|
class InternalCacheWrapper final: public IOleCache2
|
||||||
{
|
{
|
||||||
InprocEmbedDocument_Impl& m_rOwnDocument;
|
InprocEmbedDocument_Impl& m_rOwnDocument;
|
||||||
|
|
||||||
@@ -98,6 +98,8 @@ class InprocEmbedDocument_Impl : public InprocCountedObject_Impl
|
|||||||
: m_rOwnDocument( rOwnDocument )
|
: m_rOwnDocument( rOwnDocument )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
virtual ~InternalCacheWrapper() {}
|
||||||
|
|
||||||
/* IUnknown methods */
|
/* IUnknown methods */
|
||||||
STDMETHOD(QueryInterface)(REFIID riid, LPVOID FAR * ppvObj);
|
STDMETHOD(QueryInterface)(REFIID riid, LPVOID FAR * ppvObj);
|
||||||
STDMETHOD_(ULONG, AddRef)();
|
STDMETHOD_(ULONG, AddRef)();
|
||||||
|
Reference in New Issue
Block a user