Skip to content

Commit 7058a8c

Browse files
committed
Fix typo, capture by value
1 parent 3ed096e commit 7058a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Core/SourceManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ void SourceManager::File::CommonInitializer(SupportFileSP support_file_sp,
483483
// the user know what's going on.
484484
static constexpr auto g_progress_delay = std::chrono::milliseconds(500);
485485

486-
std::future<void> future = std::async(std::launch::async, [&]() {
487-
CommonInitializer(support_file_sp, target_sp);
486+
std::future<void> future = std::async(std::launch::async, [=]() {
487+
CommonInitializerImpl(support_file_sp, target_sp);
488488
});
489489

490490
std::optional<Progress> progress;

0 commit comments

Comments
 (0)