Skip to content

Commit

Permalink
remove the extra ;
Browse files Browse the repository at this point in the history
  • Loading branch information
chrilaMSFT committed Nov 1, 2024
1 parent 2e6cbf4 commit 3f86bc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace Dml
// No chunks were able to accommodate the allocation - create a new chunk and return that instead

// At least double the capacity of the pool, limit to c_maxChunkSize so DX12 does not reject size
const size_t newChunkSize = std::min(std::max({ m_totalCapacity, c_minChunkSize, sizeInBytes }), c_maxChunkSize);;
const size_t newChunkSize = std::min(std::max({ m_totalCapacity, c_minChunkSize, sizeInBytes }), c_maxChunkSize);
m_chunks.push_back(CreateChunk(m_device.Get(), newChunkSize));
m_totalCapacity += newChunkSize;

Expand Down

0 comments on commit 3f86bc5

Please sign in to comment.