From 8a4dafc1b6ea114a30844dd153de2714d2d286f9 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 28 May 2025 00:10:51 -0400 Subject: Fix cxx20 compiler warnings. --- examples/triage/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/triage/strings.cpp') diff --git a/examples/triage/strings.cpp b/examples/triage/strings.cpp index 7c3f44e8..f7fe5989 100644 --- a/examples/triage/strings.cpp +++ b/examples/triage/strings.cpp @@ -186,7 +186,7 @@ StringsTreeView::StringsTreeView(StringsWidget* parent, TriageView* view, Binary // Allow view-specific shortcuts when strings are focused m_actionHandler.setupActionHandler(this); - m_actionHandler.setActionContext([=]() { return m_view->actionContext(); }); + m_actionHandler.setActionContext([=, this]() { return m_view->actionContext(); }); m_model = new GenericStringsModel(this, m_data); setModel(m_model); -- cgit v1.3.1