Kaydet (Commit) e4f8d0c9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Silence -Werror,-Wnon-virtual-dtor

Change-Id: I46f7b68aded50abc0015b458507adbf84d0ffe76
üst b955d437
......@@ -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)();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment