mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 04:19:10 -04:00
Fix typo that only caused issues in debug builds
This commit is contained in:
parent
a0e70d5aef
commit
8c32ac8db6
@ -141,7 +141,7 @@ class basic_offset_cache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto ix = index / chunk_index_interval - 1;
|
auto ix = index / chunk_index_interval - 1;
|
||||||
assert(ix <= first_index_ + offset_.size());
|
assert(ix <= first_index_ + offsets_.size());
|
||||||
|
|
||||||
if (ix == first_index_ + offsets_.size()) {
|
if (ix == first_index_ + offsets_.size()) {
|
||||||
offsets_.push_back(offset);
|
offsets_.push_back(offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user