From 4392b0de9b77d750f4c531c167ab008237cfde1a Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 20 Jun 2024 11:42:05 +0200 Subject: Pass ApiBundle to add-to-cas and install-cas --- src/buildtool/main/install_cas.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/buildtool/main/install_cas.hpp') diff --git a/src/buildtool/main/install_cas.hpp b/src/buildtool/main/install_cas.hpp index fe2742b7..3bfdde86 100644 --- a/src/buildtool/main/install_cas.hpp +++ b/src/buildtool/main/install_cas.hpp @@ -21,17 +21,16 @@ #include "src/buildtool/common/artifact.hpp" #include "src/buildtool/common/cli.hpp" #ifndef BOOTSTRAP_BUILD_TOOL -#include "src/buildtool/execution_api/common/execution_api.hpp" +#include "src/buildtool/execution_api/common/api_bundle.hpp" #endif [[nodiscard]] auto ObjectInfoFromLiberalString(std::string const& s) noexcept -> Artifact::ObjectInfo; #ifndef BOOTSTRAP_BUILD_TOOL -[[nodiscard]] auto FetchAndInstallArtifacts( - gsl::not_null const& api, - gsl::not_null const& alternative_api, - FetchArguments const& clargs) -> bool; +[[nodiscard]] auto FetchAndInstallArtifacts(ApiBundle const& apis, + FetchArguments const& clargs) + -> bool; #endif #endif // INCLUDED_SRC_BUILDTOOL_MAIN_INSTALL_CAS_HPP -- cgit v1.2.3