diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-24 16:34:19 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-28 16:19:19 +0200 |
commit | a0c2017551a5a1a9de2319d11954587bd35da773 (patch) | |
tree | fea4cb80187fd26495a3fd8f1cd0fd802ac72e8b /test/buildtool/execution_engine/executor | |
parent | c74f873fc16b2c1221a259a4dba1eff168eb7436 (diff) | |
download | justbuild-a0c2017551a5a1a9de2319d11954587bd35da773.tar.gz |
Use TransformedRange in BlobContainer
...instead of various iterators.
Diffstat (limited to 'test/buildtool/execution_engine/executor')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index 790e20ca..02836d07 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -176,8 +176,9 @@ class TestApi : public IExecutionApi { } auto Upload(BlobContainer const& blobs, bool /*unused*/) noexcept -> bool final { + auto blob_range = blobs.Blobs(); return std::all_of( - blobs.begin(), blobs.end(), [this](auto const& blob) { + blob_range.begin(), blob_range.end(), [this](auto const& blob) { return config_.artifacts[blob.data] .uploads // for local artifacts or config_.artifacts[blob.digest.hash()] |