mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
AK: Remove try_
prefix from FixedArray creation functions
This commit is contained in:
parent
909c2a73c4
commit
9c08bb9555
Notes:
sideshowbarker
2024-07-17 01:02:18 +09:00
Author: https://github.com/linusg
Commit: 9c08bb9555
Pull-request: https://github.com/SerenityOS/serenity/pull/17222
26 changed files with 57 additions and 59 deletions
|
@ -75,7 +75,7 @@ static IntVector3 vector_for_direction(Direction direction)
|
|||
}
|
||||
|
||||
Tubes::Tubes(int interval)
|
||||
: m_grid(MUST(FixedArray<u8>::try_create(grid_resolution * grid_resolution * grid_resolution)))
|
||||
: m_grid(MUST(FixedArray<u8>::create(grid_resolution * grid_resolution * grid_resolution)))
|
||||
{
|
||||
on_screensaver_exit = []() { GUI::Application::the()->quit(); };
|
||||
start_timer(interval);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue