From: Carl Hetherington Date: Sun, 16 Jan 2022 14:10:52 +0000 (+0100) Subject: Remove unused lambda capture. X-Git-Tag: v2.16.10~21 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=c5e0f7894019d4d45fc331f34c3fa5cbcdd2b5ca Remove unused lambda capture. --- 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); }); }