mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-21 19:50:05 +00:00
Eliminate warning in D3D12MA
warning: 'QueryInterface' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
Patch originally found in Qt:
aec8398d71/src/3rdparty/D3D12MemoryAllocator/patches/0001-Eliminate-warnings-in-D3D12MA.patch
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
This commit is contained in:
parent
2b7c0d4e31
commit
f44eefdac6
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user