From 9ef2ffa9acdc19453c81696aa2ed4da7cb84078c Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 21 Sep 2023 18:19:58 +0200 Subject: RemoteServeConfig: Remove problematic inheritance This was causing the remote serve address to overwrite the one set for remote execution. Also, to keep things clean, some common remote server-related methods and definitions were moved into their own library. --- src/buildtool/serve_api/serve_service/source_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/serve_api/serve_service/source_tree.cpp') diff --git a/src/buildtool/serve_api/serve_service/source_tree.cpp b/src/buildtool/serve_api/serve_service/source_tree.cpp index 8d91c2f5..69a7a607 100644 --- a/src/buildtool/serve_api/serve_service/source_tree.cpp +++ b/src/buildtool/serve_api/serve_service/source_tree.cpp @@ -25,7 +25,7 @@ #include "src/buildtool/storage/config.hpp" auto SourceTreeService::CreateExecutionApi( - std::optional const& address) + std::optional const& address) -> gsl::not_null { if (address) { ExecutionConfiguration config; -- cgit v1.2.3