From c49f9e8a16997d7dc4cad691a249741146101be0 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 23 Jun 2025 12:00:03 +0200 Subject: ExecutionService: Use LocalApi directly --- .../execution_api/execution_service/server_implementation.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/buildtool/execution_api/execution_service/server_implementation.hpp') diff --git a/src/buildtool/execution_api/execution_service/server_implementation.hpp b/src/buildtool/execution_api/execution_service/server_implementation.hpp index 581365ff..4abf744f 100644 --- a/src/buildtool/execution_api/execution_service/server_implementation.hpp +++ b/src/buildtool/execution_api/execution_service/server_implementation.hpp @@ -20,10 +20,11 @@ #include #include "gsl/gsl" -#include "src/buildtool/execution_api/common/api_bundle.hpp" #include "src/buildtool/execution_api/local/context.hpp" #include "src/buildtool/execution_api/remote/context.hpp" +class LocalApi; + class ServerImpl final { public: [[nodiscard]] static auto Create( @@ -44,12 +45,11 @@ class ServerImpl final { /// \brief Start the execution service. /// \param local_context The LocalContext to be used. /// \param remote_context The RemoteContext to be used. - /// \param apis Apis to be used, only local api is actually - /// needed. + /// \param local_api The LocalApi used. /// \param op_exponent Log2 threshold for operation cache. auto Run(gsl::not_null const& local_context, gsl::not_null const& remote_context, - ApiBundle const& apis, + gsl::not_null const& local_api, std::optional op_exponent) -> bool; private: -- cgit v1.2.3