From f6c2fe3e30bc5e92e2c8134fb2135a532788bc3b Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 23 Jan 2024 09:03:14 +0100 Subject: just: Wrap IExecutionApi raw pointer arguments ...in accordance to our coding style. --- src/buildtool/execution_engine/executor/executor.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/buildtool/execution_engine/executor/executor.hpp') 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 repo_config, - IExecutionApi* local_api, - IExecutionApi* remote_api, + gsl::not_null const& repo_config, + gsl::not_null const& local_api, + gsl::not_null const& remote_api, std::map properties, std::vector, 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 repo_config, - IExecutionApi* local_api, - IExecutionApi* remote_api, - IExecutionApi* api_cached, + gsl::not_null const& repo_config, + gsl::not_null const& local_api, + gsl::not_null const& remote_api, + gsl::not_null const& api_cached, std::map properties, std::vector, ServerAddress>> dispatch_list, -- cgit v1.2.3