summaryrefslogtreecommitdiff
path: root/view/macho
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 /view/macho
parent0838242066437a04e3aa3417cab703cc071adde6 (diff)
Fix cxx20 compiler warnings.
Diffstat (limited to 'view/macho')
-rw-r--r--view/macho/machoview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp
index 3d8b0186..a58fd556 100644
--- a/view/macho/machoview.cpp
+++ b/view/macho/machoview.cpp
@@ -2439,7 +2439,7 @@ Ref<Symbol> MachoView::DefineMachoSymbol(
}
- auto process = [=]() {
+ auto process = [=, this]() {
// If name does not start with alphabetic character or symbol, prepend an underscore
string rawName = name;
if (!(((name[0] >= 'A') && (name[0] <= 'Z')) || ((name[0] >= 'a') && (name[0] <= 'z')) || (name[0] == '_')