mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-08 11:59:48 -04:00
clang-format
This commit is contained in:
parent
876fafdd55
commit
01ee8916b6
@ -114,7 +114,8 @@ class cached_block {
|
||||
if (::mincore(const_cast<uint8_t*>(data_.data()), data_.size(),
|
||||
tmp.data()) == 0) {
|
||||
// i&1 == 1 means resident in memory
|
||||
return std::any_of(tmp.begin(), tmp.end(), [](auto i) { return (i&1) == 0; });
|
||||
return std::any_of(tmp.begin(), tmp.end(),
|
||||
[](auto i) { return (i & 1) == 0; });
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user