aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index f61f6c1..6da6757 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -631,7 +631,7 @@ windows_nat_target::delete_thread (ptid_t ptid, DWORD exit_code,
auto iter = std::find_if (windows_process.thread_list.begin (),
windows_process.thread_list.end (),
- [=] (auto &th)
+ [=] (std::unique_ptr<windows_thread_info> &th)
{
return th->tid == id;
});