From 3bad2757262c48be133f2ad240ec6868de2c4618 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 25 Jan 2025 17:45:39 -0600 Subject: [PATCH] Also pass tarball_task by reference --- cpp/ci_logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ci_logic.cpp b/cpp/ci_logic.cpp index 6919f9b..56c048b 100644 --- a/cpp/ci_logic.cpp +++ b/cpp/ci_logic.cpp @@ -1149,7 +1149,7 @@ std::string CiLogic::queue_pull_tarball(std::vector std::shared_ptr tarball_task = std::make_shared(); task_queue->enqueue( job_statuses->at("pull"), - [this, r, &task_queue, tarball_task, job_statuses](std::shared_ptr log) mutable { + [this, r, &task_queue, &tarball_task, job_statuses](std::shared_ptr log) mutable { std::shared_ptr pkgconf = log->get_task_context()->get_parent_packageconf(); if (pull_project(pkgconf, log)) { task_queue->enqueue(