summaryrefslogtreecommitdiff
path: root/Games/Minesweeper
diff options
context:
space:
mode:
Diffstat (limited to 'Games/Minesweeper')
-rw-r--r--Games/Minesweeper/Field.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Games/Minesweeper/Field.cpp b/Games/Minesweeper/Field.cpp
index fde8517cbf..c41fd59de9 100644
--- a/Games/Minesweeper/Field.cpp
+++ b/Games/Minesweeper/Field.cpp
@@ -147,7 +147,7 @@ Field::Field(GUI::Label& flag_label, GUI::Label& time_label, GUI::Button& face_b
set_fill_with_background_color(true);
reset();
- m_face_button.on_click = [this] { reset(); };
+ m_face_button.on_click = [this](auto) { reset(); };
set_face(Face::Default);
{
@@ -260,7 +260,7 @@ void Field::reset()
square.label->set_icon(square.has_mine ? m_mine_bitmap : nullptr);
if (!square.button) {
square.button = add<SquareButton>();
- square.button->on_click = [this, &square] {
+ square.button->on_click = [this, &square](auto) {
on_square_clicked(square);
};
square.button->on_right_click = [this, &square] {