mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
Everywhere: Make use of container version of all_of
Problem: - New `all_of` implementation takes the entire container so the user does not need to pass explicit begin/end iterators. This is unused except is in tests. Solution: - Make use of the new and more user-friendly version where possible.
This commit is contained in:
committed by
Andreas Kling
parent
2c042e3530
commit
97bd13264a
@@ -118,7 +118,7 @@ bool GUIDPartitionTable::initialize()
|
||||
|
||||
bool GUIDPartitionTable::is_unused_entry(Array<u8, 16> partition_type) const
|
||||
{
|
||||
return all_of(partition_type.begin(), partition_type.end(), [](const auto octet) { return octet == 0; });
|
||||
return all_of(partition_type, [](const auto octet) { return octet == 0; });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user