diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-01-23 09:03:14 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-01-24 15:57:44 +0100 |
commit | f6c2fe3e30bc5e92e2c8134fb2135a532788bc3b (patch) | |
tree | 61125268304649f5ba71c0e67195a5d84210b5ae /src/buildtool/execution_engine/executor | |
parent | 1c0ad764c0c1e55be393ef0074c8935b3f9c97eb (diff) | |
download | justbuild-f6c2fe3e30bc5e92e2c8134fb2135a532788bc3b.tar.gz |
just: Wrap IExecutionApi raw pointer arguments
...in accordance to our coding style.
Diffstat (limited to 'src/buildtool/execution_engine/executor')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index 4e33060c..454772ff 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -657,9 +657,9 @@ class Executor { public: explicit Executor( - gsl::not_null<RepositoryConfig*> repo_config, - IExecutionApi* local_api, - IExecutionApi* remote_api, + gsl::not_null<RepositoryConfig*> const& repo_config, + gsl::not_null<IExecutionApi*> const& local_api, + gsl::not_null<IExecutionApi*> const& remote_api, std::map<std::string, std::string> properties, std::vector<std::pair<std::map<std::string, std::string>, ServerAddress>> dispatch_list, @@ -727,10 +727,10 @@ class Rebuilder { /// \param properties Platform properties for execution. /// \param timeout Timeout for action execution. Rebuilder( - gsl::not_null<RepositoryConfig*> repo_config, - IExecutionApi* local_api, - IExecutionApi* remote_api, - IExecutionApi* api_cached, + gsl::not_null<RepositoryConfig*> const& repo_config, + gsl::not_null<IExecutionApi*> const& local_api, + gsl::not_null<IExecutionApi*> const& remote_api, + gsl::not_null<IExecutionApi*> const& api_cached, std::map<std::string, std::string> properties, std::vector<std::pair<std::map<std::string, std::string>, ServerAddress>> dispatch_list, |