1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 18:38:12 +00:00
serenity/Userland/Games/FlappyBug
Lenny Maiorani f912a48315 Userland: Change static const variables to static constexpr
`static const` variables can be computed and initialized at run-time
during initialization or the first time a function is called. Change
them to `static constexpr` to ensure they are computed at
compile-time.

This allows some removal of `strlen` because the length of the
`StringView` can be used which is pre-computed at compile-time.
2022-03-18 19:58:57 +01:00
..
CMakeLists.txt FlappyBug: Add link to help pages in menu 2022-01-13 03:45:17 -08:00
Game.cpp FlappyBug: Propagate errors in Cloud class 2021-12-23 17:42:05 -08:00
Game.h Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
main.cpp LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00