Use explicit this in capture

This commit is contained in:
Jon Evans
2024-12-15 19:48:56 -05:00
parent 49ffbf5b50
commit 6a48e2c35a
+1 -1
View File
@@ -387,7 +387,7 @@ void API_PLUGIN_MANAGER::processNextJob( wxCommandEvent& aEvent )
wxLogTrace( traceApi, "Manager: calling python %s", cmd );
manager.Execute( cmd,
[=]( int aRetVal, const wxString& aOutput, const wxString& aError )
[this]( int aRetVal, const wxString& aOutput, const wxString& aError )
{
wxLogTrace( traceApi, wxString::Format( "Manager: upgrade pip (%d): %s",
aRetVal, aOutput ) );