mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:47:36 +00:00
AK+Userland: Rename Array::front/back to first/last
This is the name that is used for every other collection type so let's be consistent.
This commit is contained in:
parent
359365a06a
commit
c0ca6e470f
4 changed files with 7 additions and 7 deletions
|
@ -115,7 +115,7 @@ constexpr auto MakeMixedScaleFactorBandArray()
|
|||
Array<ScaleFactorBand, N> result {};
|
||||
|
||||
constexpr auto long_bands = MakeLongScaleFactorBandArray<sizes_long>();
|
||||
constexpr auto short_bands = MakeShortScaleFactorBandArray<sizes_short, long_bands.back().end + 1>();
|
||||
constexpr auto short_bands = MakeShortScaleFactorBandArray<sizes_short, long_bands.last().end + 1>();
|
||||
|
||||
for (size_t i = 0; i < long_bands.size(); i++) {
|
||||
result[i] = long_bands[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue