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:
parent
d2eb846e6a
commit
6e13d35026
|
@ -32,7 +32,7 @@
|
|||
|
||||
Host::Host()
|
||||
{
|
||||
State::SetOnAfterLoadCallback([this] { Host_UpdateDisasmDialog(); });
|
||||
State::SetOnAfterLoadCallback([] { Host_UpdateDisasmDialog(); });
|
||||
}
|
||||
|
||||
Host::~Host()
|
||||
|
|
Loading…
Reference in New Issue