From c05ae0b32e371fe15ba817b0028f100cd5fe619e Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Fri, 12 Apr 2024 23:37:38 -0400 Subject: [PATCH] Fix another lambda capture --- include/api/api_handler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api/api_handler.h b/include/api/api_handler.h index daf668f5a4..3e640a3c40 100644 --- a/include/api/api_handler.h +++ b/include/api/api_handler.h @@ -98,7 +98,7 @@ protected: wxString::Format( "Duplicate API handler for type %s", typeName ) ); m_handlers[typeName] = - [=]( ApiRequest& aRequest ) -> API_RESULT + [this]( ApiRequest& aRequest ) -> API_RESULT { RequestType cmd; ApiResponse envelope;