diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-21 10:30:21 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-21 10:30:52 +0100 |
commit | d60ebbbba6429bf7f3ce58783acd8232d487d4b9 (patch) | |
tree | ea37facb5b78f0bd73402bcc2a869c2ee4b9528a /Userland/Games/Pong | |
parent | 68f76b9e3750c8f4e5e3ee8c3d346772ce6d3593 (diff) | |
download | serenity-d60ebbbba6429bf7f3ce58783acd8232d487d4b9.zip |
Revert "Userland: static vs non-static constexpr variables"
This reverts commit 800ea8ea969835297dc7e7da345a45b9dc5e751a.
Booting the system no longer worked after these changes.
Diffstat (limited to 'Userland/Games/Pong')
-rw-r--r-- | Userland/Games/Pong/Game.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/Pong/Game.h b/Userland/Games/Pong/Game.h index a775aaf707..64a2be5b34 100644 --- a/Userland/Games/Pong/Game.h +++ b/Userland/Games/Pong/Game.h @@ -22,8 +22,8 @@ class Game final : public GUI::Widget { C_OBJECT(Game); public: - static constexpr int game_width = 560; - static constexpr int game_height = 480; + static const int game_width = 560; + static const int game_height = 480; virtual ~Game() override; |