mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-04 02:06:22 -04:00
refactor(metadata_v2): prefer contains()
over find() != end()
This commit is contained in:
parent
985f50e0ec
commit
77834faf75
@ -857,7 +857,7 @@ void metadata_v2_data::check_inode_size_cache(
|
|||||||
|
|
||||||
auto index = file_inode_to_chunk_index(inode);
|
auto index = file_inode_to_chunk_index(inode);
|
||||||
|
|
||||||
if (seen.find(index) != seen.end()) {
|
if (seen.contains(index)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user