diff options
Diffstat (limited to 'Userland/Games/2048/BoardView.h')
-rw-r--r-- | Userland/Games/2048/BoardView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Games/2048/BoardView.h b/Userland/Games/2048/BoardView.h index 51c0430ee5..20db43b15b 100644 --- a/Userland/Games/2048/BoardView.h +++ b/Userland/Games/2048/BoardView.h @@ -14,12 +14,12 @@ class BoardView final : public GUI::Frame { public: virtual ~BoardView() override; - void set_board(const Game::Board* board); + void set_board(Game::Board const* board); Function<void(Game::Direction)> on_move; private: - explicit BoardView(const Game::Board*); + explicit BoardView(Game::Board const*); virtual void resize_event(GUI::ResizeEvent&) override; virtual void paint_event(GUI::PaintEvent&) override; @@ -37,5 +37,5 @@ private: float m_padding { 0 }; float m_cell_size { 0 }; - const Game::Board* m_board { nullptr }; + Game::Board const* m_board { nullptr }; }; |