diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-27 16:16:26 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-28 16:19:19 +0200 |
commit | c0b46b2f4e47fc017beeae34ff555418d198e1d4 (patch) | |
tree | 6a4319a1b974fd6113fab80dd1047c1a8cb7be18 /test/buildtool/execution_engine/executor/executor.test.cpp | |
parent | fd8ad0f561dd253bf7399ce9a4594242e918ca25 (diff) | |
download | justbuild-c0b46b2f4e47fc017beeae34ff555418d198e1d4.tar.gz |
Use shared_ptr for data in ContentBlob
...to reduce the "price" of copying.
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |