mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Windows: Prevent some virtual dtor warnings.
This commit is contained in:
parent
e85a8b0f5b
commit
a1b9eb3cc5
3 changed files with 5 additions and 9 deletions
|
@ -113,7 +113,7 @@ template <class T> void SafeRelease(T **ppT) {
|
|||
|
||||
class WindowsCaptureDevice;
|
||||
|
||||
class ReaderCallback : public IMFSourceReaderCallback {
|
||||
class ReaderCallback final : public IMFSourceReaderCallback {
|
||||
public:
|
||||
ReaderCallback(WindowsCaptureDevice *device);
|
||||
~ReaderCallback();
|
||||
|
|
|
@ -57,9 +57,8 @@ namespace W32Util
|
|||
LPCTSTR header;
|
||||
HFONT hTitleFont;
|
||||
HICON icon;
|
||||
struct Page
|
||||
{
|
||||
Page(Tab *_tab, LPCTSTR _resource, LPCTSTR _title, LPCTSTR _subtitle = 0)
|
||||
struct Page final {
|
||||
Page(Tab *_tab, LPCTSTR _resource, LPCTSTR _title, LPCTSTR _subtitle = nullptr)
|
||||
: tab(_tab), resource(_resource), title(_title), hdrSubTitle(_subtitle) {}
|
||||
Tab *tab;
|
||||
LPCTSTR resource;
|
||||
|
@ -78,7 +77,4 @@ namespace W32Util
|
|||
HFONT GetTitleFont() {return hTitleFont;}
|
||||
static int CALLBACK Callback(HWND hwndDlg, UINT uMsg, LPARAM lParam);
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ const IID IID_IAudioRenderClient = __uuidof(IAudioRenderClient);
|
|||
if ((punk) != NULL) \
|
||||
{ (punk)->Release(); (punk) = NULL; }
|
||||
|
||||
class CMMNotificationClient : public IMMNotificationClient {
|
||||
class CMMNotificationClient final : public IMMNotificationClient {
|
||||
public:
|
||||
CMMNotificationClient() {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue