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;