From c0b46b2f4e47fc017beeae34ff555418d198e1d4 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 27 May 2024 16:16:26 +0200 Subject: Use shared_ptr for data in ContentBlob ...to reduce the "price" of copying. --- test/buildtool/execution_engine/executor/executor.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp') diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index 69e06df9..8eece895 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -179,7 +179,7 @@ class TestApi : public IExecutionApi { auto blob_range = blobs.Blobs(); return std::all_of( blob_range.begin(), blob_range.end(), [this](auto const& blob) { - return config_.artifacts[blob.data] + return config_.artifacts[*blob.data] .uploads // for local artifacts or config_.artifacts[blob.digest.hash()] .uploads; // for known and action artifacts -- cgit v1.2.3