diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-04-06 12:05:26 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-04-06 14:31:52 +0200 |
commit | c0ca6e470f27dfd7429b79f1015462a834c19408 (patch) | |
tree | eafeed72bff085f8f00f48205bde594c65e74214 /Userland/Libraries/LibAudio/MP3Tables.h | |
parent | 359365a06ae6fe9948ca2bb089688ae203690007 (diff) | |
download | serenity-c0ca6e470f27dfd7429b79f1015462a834c19408.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibAudio/MP3Tables.h')
-rw-r--r-- | Userland/Libraries/LibAudio/MP3Tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibAudio/MP3Tables.h b/Userland/Libraries/LibAudio/MP3Tables.h index 4939d32876..0e773f95f5 100644 --- a/Userland/Libraries/LibAudio/MP3Tables.h +++ b/Userland/Libraries/LibAudio/MP3Tables.h @@ -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]; |