From 6e13d35026dcf14004ce1d2b4b1b47680c62a150 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Wed, 3 Mar 2021 13:18:17 -0800 Subject: [PATCH] DolphinQt: Removed unused this capture in lambda The Host constructor sets a callback on a lambda that in turn calls Host_UpdateDisasmDialog. Since that function is not a member function capturing this is unnecessary. Fixes -Wunused-lambda-capture warning on freebsd-x64. --- Source/Core/DolphinQt/Host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Host.cpp b/Source/Core/DolphinQt/Host.cpp index 9f3251f7a5..f5202c1287 100644 --- a/Source/Core/DolphinQt/Host.cpp +++ b/Source/Core/DolphinQt/Host.cpp @@ -32,7 +32,7 @@ Host::Host() { - State::SetOnAfterLoadCallback([this] { Host_UpdateDisasmDialog(); }); + State::SetOnAfterLoadCallback([] { Host_UpdateDisasmDialog(); }); } Host::~Host()