7
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:
Jon Evans 2024-07-21 17:29:08 -04:00
parent 4480b6c512
commit 5120a3bd82

View File

@ -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;