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.
This commit is contained in:
Dentomologist 2021-03-03 13:18:17 -08:00
parent d2eb846e6a
commit 6e13d35026
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
Host::Host()
{
State::SetOnAfterLoadCallback([this] { Host_UpdateDisasmDialog(); });
State::SetOnAfterLoadCallback([] { Host_UpdateDisasmDialog(); });
}
Host::~Host()