[dwrite] Fix delete-non-virtual-dtor warning (#1550)
This commit is contained in:
parent
89bcfb204c
commit
0c2bd1b160
|
@ -71,6 +71,8 @@ public:
|
|||
*fontFileStream = mFontFileStream;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
virtual ~DWriteFontFileLoader() {}
|
||||
};
|
||||
|
||||
class DWriteFontFileStream : public IDWriteFontFileStream
|
||||
|
@ -122,6 +124,8 @@ public:
|
|||
|
||||
virtual HRESULT STDMETHODCALLTYPE
|
||||
GetLastWriteTime (OUT UINT64* lastWriteTime) { return E_NOTIMPL; }
|
||||
|
||||
virtual ~DWriteFontFileStream() {}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue