From d40eb82b519fb17819c8e8f0827f7338bed02bf7 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 5 Dec 2024 12:22:22 +0100 Subject: execution api: support retrieving from more than one API, also for fd Extend the api to optionally accept a different API for preferred fetching. This is already supported when fetching to a file path; therefore, extend to keep the interface symmetric. --- test/buildtool/execution_engine/executor/executor.test.cpp | 3 ++- 1 file changed, 2 insertions(+), 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 56c02be0..a20a377f 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -201,7 +201,8 @@ class TestApi : public IExecutionApi { [[nodiscard]] auto RetrieveToFds( std::vector const& /*unused*/, std::vector const& /*unused*/, - bool /*unused*/) const noexcept -> bool final { + bool /*unused*/, + IExecutionApi const* /*unused*/) const noexcept -> bool final { return false; // not needed by Executor } [[nodiscard]] auto RetrieveToCas( -- cgit v1.2.3