mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
AK: Remove try_
prefix from FixedArray creation functions
This commit is contained in:
parent
909c2a73c4
commit
9c08bb9555
26 changed files with 57 additions and 59 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue