From 37423ffd7e6ed26f2d3cff66519179945418bf5b Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Wed, 3 Nov 2021 13:22:58 +0100 Subject: [PATCH] Added virtual destructor to class IUnknownImpl --- src/D3D12MemAlloc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/D3D12MemAlloc.h b/src/D3D12MemAlloc.h index 33500d6..6d9fbd0 100644 --- a/src/D3D12MemAlloc.h +++ b/src/D3D12MemAlloc.h @@ -123,6 +123,7 @@ namespace D3D12MA class IUnknownImpl : public IUnknown { public: + virtual ~IUnknownImpl() = default; virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppvObject); virtual ULONG STDMETHODCALLTYPE AddRef(); virtual ULONG STDMETHODCALLTYPE Release();