mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 00:21:31 +00:00
Fix incorrect lambda capture
This commit is contained in:
parent
4480b6c512
commit
5120a3bd82
@ -98,7 +98,7 @@ protected:
|
||||
wxString::Format( "Duplicate API handler for type %s", typeName ) );
|
||||
|
||||
m_handlers[typeName] =
|
||||
[this, &aHandler]( ApiRequest& aRequest ) -> API_RESULT
|
||||
[this, aHandler]( ApiRequest& aRequest ) -> API_RESULT
|
||||
{
|
||||
RequestType cmd;
|
||||
ApiResponse envelope;
|
||||
|
Loading…
Reference in New Issue
Block a user