mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 20:44:28 +00:00
Correct decltype
This commit is contained in:
parent
5bb71458c0
commit
71c0d7911e
@ -330,7 +330,7 @@ void BufferCache::QueueMemoryImport(VAddr device_addr, u64 size) {
|
||||
std::scoped_lock lk{mutex};
|
||||
const VAddr start = device_addr;
|
||||
const VAddr end = device_addr + size;
|
||||
auto queue_range = decltype(imported_regions)::interval_type::right_open(start, end);
|
||||
auto queue_range = decltype(queued_imports)::interval_type::right_open(start, end);
|
||||
queued_imports += queue_range;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user