From e5ca9113797a23824dd4545d93221bd6379dd692 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 20 Jun 2024 16:56:25 +0200 Subject: Pass IExecutionApi to ServerImpl, Archive by reference ...instead of not_null const ptr. --- src/buildtool/execution_api/utils/subobject.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/buildtool/execution_api/utils/subobject.hpp') diff --git a/src/buildtool/execution_api/utils/subobject.hpp b/src/buildtool/execution_api/utils/subobject.hpp index 85fc7bdb..c5cee935 100644 --- a/src/buildtool/execution_api/utils/subobject.hpp +++ b/src/buildtool/execution_api/utils/subobject.hpp @@ -20,12 +20,11 @@ #include #include -#include "gsl/gsl" #include "src/buildtool/common/artifact.hpp" #include "src/buildtool/execution_api/common/execution_api.hpp" auto RetrieveSubPathId(Artifact::ObjectInfo object_info, - gsl::not_null const& api, + IExecutionApi const& api, const std::filesystem::path& sub_path) -> std::optional; -- cgit v1.2.3