yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

buffer_cache: Remove unused small_vector in CommitAsyncFlushesHigh()

Given this is non-trivial, the constructor is required to execute, so
this removes a bit of redundant codegen.
This commit is contained in:
Lioncash 2021-07-27 06:24:35 -04:00
parent 075a744e38
commit ec56a17acd
1 changed files with 0 additions and 1 deletions

View File

@ -817,7 +817,6 @@ void BufferCache<P>::CommitAsyncFlushesHigh() {
const std::size_t size = interval.upper() - interval.lower();
const VAddr cpu_addr = interval.lower();
ForEachBufferInRange(cpu_addr, size, [&](BufferId buffer_id, Buffer& buffer) {
boost::container::small_vector<BufferCopy, 1> copies;
buffer.ForEachDownloadRangeAndClear(
cpu_addr, size, [&](u64 range_offset, u64 range_size) {
const VAddr buffer_addr = buffer.CpuAddr();