Remove unused lambda capture.
authorCarl Hetherington <cth@carlh.net>
Sun, 16 Jan 2022 14:10:52 +0000 (15:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 28 Apr 2022 23:44:15 +0000 (01:44 +0200)
src/wx/content_menu.cc

index 6fd5f99691456fa3e8139df8e498b4679b917adb..7e465947999b802782c54bf374bcc6e29326ce35 100644 (file)
@@ -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);
        });
 }