summaryrefslogtreecommitdiff
path: root/Userland/Games/Pong
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-21 10:30:21 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-21 10:30:52 +0100
commitd60ebbbba6429bf7f3ce58783acd8232d487d4b9 (patch)
treeea37facb5b78f0bd73402bcc2a869c2ee4b9528a /Userland/Games/Pong
parent68f76b9e3750c8f4e5e3ee8c3d346772ce6d3593 (diff)
downloadserenity-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.h4
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;