Fixing some particularly bad /W4.
This commit is contained in:
@@ -80,7 +80,7 @@ CircularBuffer::Allocation CircularBuffer::Acquire(size_t length) {
|
||||
bool CircularBuffer::AcquireCached(uint32_t key, size_t length,
|
||||
Allocation* out_allocation) {
|
||||
uint64_t full_key = key | (length << 32);
|
||||
auto& it = allocation_cache_.find(full_key);
|
||||
auto it = allocation_cache_.find(full_key);
|
||||
if (it != allocation_cache_.end()) {
|
||||
uintptr_t write_head = it->second;
|
||||
size_t aligned_length = xe::round_up(length, alignment_);
|
||||
|
||||
Reference in New Issue
Block a user