Skip to content

Commit

Permalink
Merge pull request #66 from robUx4/IUknown-override
Browse files Browse the repository at this point in the history
Eliminate warning in D3D12MA
  • Loading branch information
adam-sawicki-a authored Sep 3, 2024
2 parents 2b7c0d4 + f44eefd commit ffe6394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/D3D12MemAlloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ class D3D12MA_API IUnknownImpl : public IUnknown
{
public:
virtual ~IUnknownImpl() = default;
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject);
virtual ULONG STDMETHODCALLTYPE AddRef();
virtual ULONG STDMETHODCALLTYPE Release();
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject) override;
ULONG STDMETHODCALLTYPE AddRef() override;
ULONG STDMETHODCALLTYPE Release() override;
protected:
virtual void ReleaseThis() { delete this; }
private:
Expand Down

0 comments on commit ffe6394

Please sign in to comment.