summaryrefslogtreecommitdiff
path: root/Userland/Demos/Tubes
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-01-28 20:12:17 +0000
committerJelle Raaijmakers <jelle@gmta.nl>2023-01-28 22:41:36 +0100
commit9c08bb95553539d1880a5ac81ba5608d4ad874de (patch)
treee3774fe4f7ce021b9331ddbac3846e62e25778a6 /Userland/Demos/Tubes
parent909c2a73c4aa2359e3670b7e93d9a5051ba3881e (diff)
downloadserenity-9c08bb95553539d1880a5ac81ba5608d4ad874de.zip
AK: Remove `try_` prefix from FixedArray creation functions
Diffstat (limited to 'Userland/Demos/Tubes')
-rw-r--r--Userland/Demos/Tubes/Tubes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Tubes/Tubes.cpp b/Userland/Demos/Tubes/Tubes.cpp
index 8fa6680dbe..e3cc9273e1 100644
--- a/Userland/Demos/Tubes/Tubes.cpp
+++ b/Userland/Demos/Tubes/Tubes.cpp
@@ -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);