From ea2291d24d531a1ea221f1035636303ac0da787d Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 28 Jan 2025 10:13:50 +0100 Subject: Replace ContentBlobContainer with std::unordered_set --- test/buildtool/execution_engine/executor/executor.test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (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 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) { -- cgit v1.2.3