Skip to content

Commit ffe6394

Browse files
Merge pull request #66 from robUx4/IUknown-override
Eliminate warning in D3D12MA
2 parents 2b7c0d4 + f44eefd commit ffe6394

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/D3D12MemAlloc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ class D3D12MA_API IUnknownImpl : public IUnknown
160160
{
161161
public:
162162
virtual ~IUnknownImpl() = default;
163-
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject);
164-
virtual ULONG STDMETHODCALLTYPE AddRef();
165-
virtual ULONG STDMETHODCALLTYPE Release();
163+
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject) override;
164+
ULONG STDMETHODCALLTYPE AddRef() override;
165+
ULONG STDMETHODCALLTYPE Release() override;
166166
protected:
167167
virtual void ReleaseThis() { delete this; }
168168
private:

0 commit comments

Comments
 (0)