1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 23:08:11 +00:00
serenity/Userland/Games/Breakout
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 Breakout: Add link to help pages in menu 2022-01-13 03:45:17 -08:00
Game.cpp Games: Use default constructors/destructors 2022-02-16 22:08:55 +00:00
Game.h Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
LevelSelectDialog.cpp Games: Use default constructors/destructors 2022-02-16 22:08:55 +00:00
LevelSelectDialog.h Games: Use default constructors/destructors 2022-02-16 22:08:55 +00:00
main.cpp Breakout: Add link to help pages in menu 2022-01-13 03:45:17 -08:00