Fix incorrect lambda capture

This commit is contained in:
Jon Evans
2024-07-21 17:29:24 -04:00
parent 4480b6c512
commit 5120a3bd82
+1 -1
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;