From 738ce45c525269663ef7a61cbf31dd5018066828 Mon Sep 17 00:00:00 2001 From: Andrea Blankenstijn Date: Wed, 21 Jul 2021 00:04:21 +0200 Subject: [PATCH] cosmetic --- board_widget.hpp | 2 +- data.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/board_widget.hpp b/board_widget.hpp index 124f152..aca3d5a 100644 --- a/board_widget.hpp +++ b/board_widget.hpp @@ -4,9 +4,9 @@ #include #include +#include #include #include -#include extern "C" { Uint32 SDL_RegisterEvents(int); } diff --git a/data.cpp b/data.cpp index 72ced97..2c54443 100644 --- a/data.cpp +++ b/data.cpp @@ -5,8 +5,7 @@ using namespace game::data; Board::Board(int w, int h) + : width(w), height(h) { - width = w; - height = h; squares.resize(w * h, {}); }