summaryrefslogtreecommitdiff
path: root/examples/triage/entry.cpp
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2025-05-28 00:10:51 -0400
committerAlexander Taylor <alex@vector35.com>2025-06-25 18:36:48 -0400
commit8a4dafc1b6ea114a30844dd153de2714d2d286f9 (patch)
treec6a6fa1c60e420c1ceb8577d4e2f79bb9133b55a /examples/triage/entry.cpp
parent0838242066437a04e3aa3417cab703cc071adde6 (diff)
Fix cxx20 compiler warnings.
Diffstat (limited to 'examples/triage/entry.cpp')
-rw-r--r--examples/triage/entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/triage/entry.cpp b/examples/triage/entry.cpp
index 4c7f5ec0..f66634f1 100644
--- a/examples/triage/entry.cpp
+++ b/examples/triage/entry.cpp
@@ -160,7 +160,7 @@ EntryTreeView::EntryTreeView(EntryWidget* parent, TriageView* view, BinaryViewRe
// Allow view-specific shortcuts when imports are focused
m_actionHandler.setupActionHandler(this);
- m_actionHandler.setActionContext([=]() { return m_view->actionContext(); });
+ m_actionHandler.setActionContext([=, this]() { return m_view->actionContext(); });
m_model = new GenericEntryModel(this, m_data);
setModel(m_model);