diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-28 10:13:50 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-07 14:58:04 +0100 |
commit | ea2291d24d531a1ea221f1035636303ac0da787d (patch) | |
tree | 1f9d1d6f85328440afd360a2ab478d2887992c5e /test/buildtool/execution_engine/executor/executor.test.cpp | |
parent | 5fa4f4f6843fefdc64918cdfb14bf2c287bd387c (diff) | |
download | justbuild-ea2291d24d531a1ea221f1035636303ac0da787d.tar.gz |
Replace ContentBlobContainer<T> with std::unordered_set
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index 2db9306b..834a63ca 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -58,7 +58,6 @@ #include "src/buildtool/logging/logger.hpp" #include "src/buildtool/progress_reporting/progress.hpp" #include "src/utils/cpp/expected.hpp" -#include "src/utils/cpp/transformed_range.hpp" #include "test/utils/executor/test_api_bundle.hpp" #include "test/utils/hermeticity/test_hash_function_type.hpp" @@ -223,9 +222,8 @@ class TestApi : public IExecutionApi { } [[nodiscard]] auto Upload(ArtifactBlobContainer&& blobs, bool /*unused*/) const noexcept -> bool final { - auto blob_range = blobs.Blobs(); return std::all_of( - blob_range.begin(), blob_range.end(), [this](auto const& blob) { + blobs.begin(), blobs.end(), [this](auto const& blob) { // for local artifacts auto it1 = config_.artifacts.find(*blob.data); if (it1 != config_.artifacts.end() and it1->second.uploads) { |