From 0d3860c4bbfe81c7003f0ea1f1a01fc3a866daed Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 22 Jan 2024 18:40:37 +0100 Subject: just-mr async maps: Wrap passed raw pointers This is to uphold the coding style guide we employ. --- src/other_tools/root_maps/commit_git_map.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/other_tools/root_maps/commit_git_map.hpp') diff --git a/src/other_tools/root_maps/commit_git_map.hpp b/src/other_tools/root_maps/commit_git_map.hpp index 348e5e11..949b0dd1 100644 --- a/src/other_tools/root_maps/commit_git_map.hpp +++ b/src/other_tools/root_maps/commit_git_map.hpp @@ -15,6 +15,7 @@ #ifndef INCLUDED_SRC_OTHER_TOOLS_ROOT_MAPS_COMMIT_GIT_MAP_HPP #define INCLUDED_SRC_OTHER_TOOLS_ROOT_MAPS_COMMIT_GIT_MAP_HPP +#include #include #include #include @@ -77,8 +78,8 @@ using CommitGitMap = std::string const& git_bin, std::vector const& launcher, bool serve_api_exists, - IExecutionApi* local_api, - IExecutionApi* remote_api, + gsl::not_null const& local_api, + std::optional> const& remote_api, bool fetch_absent, std::size_t jobs) -> CommitGitMap; -- cgit v1.2.3