From c8c779d7111164ddae0769c42e2318db760fe843 Mon Sep 17 00:00:00 2001 From: Kieran Kihn <114803508+kierankihn@users.noreply.github.com> Date: Sun, 16 Nov 2025 20:18:19 +0800 Subject: [PATCH] fix(game): init `Deck` in construct function by default --- src/game/CardTile.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/game/CardTile.cpp b/src/game/CardTile.cpp index fb9d2a0..61fe975 100644 --- a/src/game/CardTile.cpp +++ b/src/game/CardTile.cpp @@ -73,7 +73,10 @@ namespace UNO::GAME { return this->front(); } - Deck::Deck() = default; + Deck::Deck() + { + this->init(); + } void Deck::init() {