diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-03-22 14:58:49 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-03-23 16:00:15 +0100 |
commit | cf5fe9c264d0c7199b9ca13362913916ba689c6f (patch) | |
tree | a925629ba3978b20f766c701faa4e951c3745c8e /src/buildtool/execution_api/local/local_api.hpp | |
parent | 27a7f0f98986abc54cd52b17974743287d6eaa79 (diff) | |
download | justbuild-cf5fe9c264d0c7199b9ca13362913916ba689c6f.tar.gz |
execution api: support retrieving from more than one API
Diffstat (limited to 'src/buildtool/execution_api/local/local_api.hpp')
-rw-r--r-- | src/buildtool/execution_api/local/local_api.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/local/local_api.hpp b/src/buildtool/execution_api/local/local_api.hpp index dbfb3504..05fbeeda 100644 --- a/src/buildtool/execution_api/local/local_api.hpp +++ b/src/buildtool/execution_api/local/local_api.hpp @@ -53,11 +53,11 @@ class LocalApi final : public IExecutionApi { properties}}; } - // NOLINTNEXTLINE(misc-no-recursion) + // NOLINTNEXTLINE(misc-no-recursion,google-default-arguments) [[nodiscard]] auto RetrieveToPaths( std::vector<Artifact::ObjectInfo> const& artifacts_info, - std::vector<std::filesystem::path> const& output_paths) noexcept - -> bool final { + std::vector<std::filesystem::path> const& output_paths, + IExecutionApi* /*alternative*/ = nullptr) noexcept -> bool final { if (artifacts_info.size() != output_paths.size()) { Logger::Log(LogLevel::Error, "different number of digests and output paths."); |