3
0
Fork 0
forked from suyu/suyu

Buffer Cache: Fix GCC copmpile error

This commit is contained in:
Fernando Sahmkow 2021-07-08 09:55:00 +02:00
parent 4a09517336
commit 5e78ad4378

View file

@ -591,7 +591,6 @@ void BufferCache<P>::CommitAsyncFlushesHigh() {
for (auto& interval : intervals) {
const std::size_t size = interval.upper() - interval.lower();
const VAddr cpu_addr = interval.lower();
const VAddr cpu_addr_end = interval.upper();
ForEachBufferInRange(cpu_addr, size, [&](BufferId buffer_id, Buffer& buffer) {
boost::container::small_vector<BufferCopy, 1> copies;
buffer.ForEachDownloadRange(