Silence -Werror,-Wnon-virtual-dtor
Change-Id: I46f7b68aded50abc0015b458507adbf84d0ffe76
This commit is contained in:
parent
b955d437ca
commit
e4f8d0c9c4
@ -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)();
|
||||
|
Loading…
x
Reference in New Issue
Block a user