From 638c03a1c9a9b093fc94a49d3e0c7a7a3fdf001e Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Sun, 11 Jan 2026 01:34:48 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20implicit=20capture=20of=20=E2=80=98this?= =?UTF-8?q?=E2=80=99=20via=20=E2=80=98[=3D]=E2=80=99=20is=20deprecated=20i?= =?UTF-8?q?n=20C++20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matt Liberty --- search/Bfs.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/search/Bfs.cc b/search/Bfs.cc index ebea9fdb..41cd536e 100644 --- a/search/Bfs.cc +++ b/search/Bfs.cc @@ -1,3 +1,4 @@ + // OpenSTA, Static Timing Analyzer // Copyright (c) 2025, Parallax Software, Inc. // @@ -203,7 +204,7 @@ BfsIterator::visitParallel(Level to_level, for (size_t k = 0; k < thread_count; k++) { // Last thread gets the left overs. size_t to = (k == thread_count - 1) ? vertex_count : from + chunk_size; - dispatch_queue_->dispatch( [=](int) { + dispatch_queue_->dispatch( [=, this](int) { for (size_t i = from; i < to; i++) { Vertex *vertex = level_vertices[i]; if (vertex) {