summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_engine/executor')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp14
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,