diff options
author | Linus Groh <mail@linusgroh.de> | 2023-01-28 20:12:17 +0000 |
---|---|---|
committer | Jelle Raaijmakers <jelle@gmta.nl> | 2023-01-28 22:41:36 +0100 |
commit | 9c08bb95553539d1880a5ac81ba5608d4ad874de (patch) | |
tree | e3774fe4f7ce021b9331ddbac3846e62e25778a6 /Userland/Libraries/LibAudio/MP3Loader.cpp | |
parent | 909c2a73c4aa2359e3670b7e93d9a5051ba3881e (diff) | |
download | serenity-9c08bb95553539d1880a5ac81ba5608d4ad874de.zip |
AK: Remove `try_` prefix from FixedArray creation functions
Diffstat (limited to 'Userland/Libraries/LibAudio/MP3Loader.cpp')
-rw-r--r-- | Userland/Libraries/LibAudio/MP3Loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibAudio/MP3Loader.cpp b/Userland/Libraries/LibAudio/MP3Loader.cpp index dd60f5cca9..5f972b1540 100644 --- a/Userland/Libraries/LibAudio/MP3Loader.cpp +++ b/Userland/Libraries/LibAudio/MP3Loader.cpp @@ -91,7 +91,7 @@ MaybeLoaderError MP3LoaderPlugin::seek(int const position) LoaderSamples MP3LoaderPlugin::get_more_samples(size_t max_samples_to_read_from_input) { - FixedArray<Sample> samples = LOADER_TRY(FixedArray<Sample>::try_create(max_samples_to_read_from_input)); + FixedArray<Sample> samples = LOADER_TRY(FixedArray<Sample>::create(max_samples_to_read_from_input)); size_t samples_to_read = max_samples_to_read_from_input; while (samples_to_read > 0) { |