Merge pull request #66 from robUx4/IUknown-override

Eliminate warning in D3D12MA
This commit is contained in:
Adam Sawicki 2024-09-03 13:08:02 +02:00 committed by GitHub
commit ffe6394e8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,9 +160,9 @@ class D3D12MA_API IUnknownImpl : public IUnknown
{ {
public: public:
virtual ~IUnknownImpl() = default; virtual ~IUnknownImpl() = default;
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject); HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject) override;
virtual ULONG STDMETHODCALLTYPE AddRef(); ULONG STDMETHODCALLTYPE AddRef() override;
virtual ULONG STDMETHODCALLTYPE Release(); ULONG STDMETHODCALLTYPE Release() override;
protected: protected:
virtual void ReleaseThis() { delete this; } virtual void ReleaseThis() { delete this; }
private: private: