summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-07-28 22:08:01 +0200
committerCarl Hetherington <cth@carlh.net>2024-07-28 22:08:01 +0200
commit9158a8099f0f3c71ed124a2e0a9f2fee9e88a22c (patch)
treec81d5664f84ce63d9d1fbdc0c1259897e6e30185
parente3f0b71dcf093cdd33cda00031a2c2edaaed7adb (diff)
Fix build warning on macOS.
-rw-r--r--src/wx/verify_dcp_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/verify_dcp_dialog.cc b/src/wx/verify_dcp_dialog.cc
index a1b44f45f..9417d7934 100644
--- a/src/wx/verify_dcp_dialog.cc
+++ b/src/wx/verify_dcp_dialog.cc
@@ -129,7 +129,7 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr<VerifyDCPJob> job
return message;
};
- auto add = [&counts, &add_bullet, &substitute, limit_per_type](vector<dcp::VerificationNote> const& notes, wxString message, wxString more_message = {}) {
+ auto add = [&counts, &add_bullet, &substitute](vector<dcp::VerificationNote> const& notes, wxString message, wxString more_message = {}) {
int N = 0;
for (auto const& note: notes) {
add_bullet(note.type(), substitute(message, note));