From 688697e334f3549bc3b0b822af99266ef8885f1f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 10 Jan 2023 22:11:38 +0100 Subject: [PATCH] Fixed a Clang compiler warning. --- es-app/src/guis/GuiMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index a2dd6d2be..beb5aa887 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -1238,7 +1238,7 @@ void GuiMenu::openOtherOptions() if (antiAliasing->getSelectedObjects().size() == 0) antiAliasing->selectEntry(0); s->addWithLabel("ANTI-ALIASING (MSAA) (REQUIRES RESTART)", antiAliasing); - s->addSaveFunc([this, antiAliasing, s] { + s->addSaveFunc([antiAliasing, s] { if (antiAliasing->getSelected() != std::to_string(Settings::getInstance()->getInt("AntiAliasing"))) { Settings::getInstance()->setInt("AntiAliasing",