From 959f67980b3a041c81deca1bacee373709cd28e6 Mon Sep 17 00:00:00 2001 From: Bryan Bernhart Date: Tue, 13 Sep 2022 14:43:37 -0700 Subject: [PATCH] Fix conversion of type to ResourceAllocation::DeleteThis. --- src/gpgmm/d3d12/ResourceAllocationD3D12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpgmm/d3d12/ResourceAllocationD3D12.cpp b/src/gpgmm/d3d12/ResourceAllocationD3D12.cpp index c3be0966e..eca301714 100644 --- a/src/gpgmm/d3d12/ResourceAllocationD3D12.cpp +++ b/src/gpgmm/d3d12/ResourceAllocationD3D12.cpp @@ -65,7 +65,7 @@ namespace gpgmm::d3d12 { } void ResourceAllocation::DeleteThis() { - GetAllocator()->DeallocateMemory(std::unique_ptr(this)); + GetAllocator()->DeallocateMemory(std::unique_ptr(this)); } ID3D12Resource* ResourceAllocation::GetResource() const {