summaryrefslogtreecommitdiff
path: root/Games/Snake/SnakeGame.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-23 12:07:13 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-23 12:27:53 +0100
commitc5d913970ab122cdeaf23aea24e65efa6b425ab0 (patch)
tree07ef4cb2d039521ec7b1931c707b5196b7ea1628 /Games/Snake/SnakeGame.h
parent4ce28c32d1813b043758c0d15d5efc17452c2b77 (diff)
downloadserenity-c5d913970ab122cdeaf23aea24e65efa6b425ab0.zip
LibGUI: Remove parent parameter to GUI::Widget constructor
Diffstat (limited to 'Games/Snake/SnakeGame.h')
-rw-r--r--Games/Snake/SnakeGame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Snake/SnakeGame.h b/Games/Snake/SnakeGame.h
index abe08df450..6ecb5fa099 100644
--- a/Games/Snake/SnakeGame.h
+++ b/Games/Snake/SnakeGame.h
@@ -38,7 +38,7 @@ public:
void reset();
private:
- explicit SnakeGame(GUI::Widget* parent = nullptr);
+ SnakeGame();
virtual void paint_event(GUI::PaintEvent&) override;
virtual void keydown_event(GUI::KeyEvent&) override;
virtual void timer_event(Core::TimerEvent&) override;