summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/commit_git_map.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-13 10:16:29 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-06-18 12:05:10 +0200
commitdc9a7b8499da9ce7a90546afecd048d0bfb31f38 (patch)
treeefc036d485bb8418ffbf77957be2d5f2252a9306 /src/other_tools/root_maps/commit_git_map.hpp
parentd08e6f1af5a96818c9e7c2c9e0a6288470489822 (diff)
downloadjustbuild-dc9a7b8499da9ce7a90546afecd048d0bfb31f38.tar.gz
Make ServeApi a general class, not a singleton
...and adjust interfaces.
Diffstat (limited to 'src/other_tools/root_maps/commit_git_map.hpp')
-rw-r--r--src/other_tools/root_maps/commit_git_map.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/root_maps/commit_git_map.hpp b/src/other_tools/root_maps/commit_git_map.hpp
index 1f2ff707..4cdc7fd9 100644
--- a/src/other_tools/root_maps/commit_git_map.hpp
+++ b/src/other_tools/root_maps/commit_git_map.hpp
@@ -81,7 +81,7 @@ using CommitGitMap =
MirrorsPtr const& additional_mirrors,
std::string const& git_bin,
std::vector<std::string> const& launcher,
- std::optional<gsl::not_null<const ServeApi*>> const& serve,
+ std::optional<ServeApi> const& serve,
gsl::not_null<IExecutionApi*> const& local_api,
std::optional<gsl::not_null<IExecutionApi*>> const& remote_api,
bool fetch_absent,