mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-21 19:50:05 +00:00
Preserve comments explaining empty destructors
This commit is contained in:
parent
074d7b446a
commit
48521a1f8e
@ -1553,6 +1553,11 @@ public:
|
||||
|
||||
// allocationCallbacks externally owned, must outlive this object.
|
||||
List(const ALLOCATION_CALLBACKS& allocationCallbacks);
|
||||
|
||||
// Intentionally not calling Clear, because that would be unnecessary
|
||||
// computations to return all items to m_ItemAllocator as free.
|
||||
// ~List() {}
|
||||
|
||||
void Clear();
|
||||
|
||||
size_t GetCount() const { return m_Count; }
|
||||
|
@ -401,6 +401,9 @@ private:
|
||||
} m_PackedData;
|
||||
|
||||
Allocation(AllocatorPimpl* allocator, UINT64 size, BOOL wasZeroInitialized);
|
||||
// Nothing here, everything already done in Release.
|
||||
// ~Allocation() {}
|
||||
|
||||
void InitCommitted(CommittedAllocationList* list);
|
||||
void InitPlaced(UINT64 offset, UINT64 alignment, NormalBlock* block);
|
||||
void InitHeap(CommittedAllocationList* list, ID3D12Heap* heap);
|
||||
|
Loading…
Reference in New Issue
Block a user