From c5e0f7894019d4d45fc331f34c3fa5cbcdd2b5ca Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 16 Jan 2022 15:10:52 +0100 Subject: [PATCH] Remove unused lambda capture. --- src/wx/content_menu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 6fd5f9969..7e4659479 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -612,7 +612,7 @@ ContentMenu::auto_crop () }); /* Update the view when something in the dialog is changed */ - _auto_crop_dialog->Changed.connect([this, update_viewer](Crop crop) { + _auto_crop_dialog->Changed.connect([update_viewer](Crop crop) { update_viewer (crop); }); } -- 2.30.2