[dwrite] Fix delete-non-virtual-dtor warning (#1550)

This commit is contained in:
Ebrahim Byagowi 2019-01-19 16:30:07 +03:30 committed by GitHub
parent 89bcfb204c
commit 0c2bd1b160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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() {}
};