diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-05 13:21:08 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-16 17:51:12 +0200 |
commit | 9a3b4efaef5225ed968fb86a9d7d10ac784ceccf (patch) | |
tree | a2c3810f9a3bfc91aaed1716eaf9fc3661ff79cd /src/buildtool/execution_api/remote/bazel/bazel_action.hpp | |
parent | 68799226b02ae7f96186b86e722842a914099df3 (diff) | |
download | justbuild-9a3b4efaef5225ed968fb86a9d7d10ac784ceccf.tar.gz |
LocalAction, BazelAction: Extend constness in fields and methods
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_action.hpp')
-rw-r--r-- | src/buildtool/execution_api/remote/bazel/bazel_action.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_action.hpp b/src/buildtool/execution_api/remote/bazel/bazel_action.hpp index 8392b1ba..8316cec1 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_action.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_action.hpp @@ -41,13 +41,13 @@ class BazelAction final : public IExecutionAction { } private: - std::shared_ptr<BazelNetwork> network_; + std::shared_ptr<BazelNetwork> const network_; bazel_re::Digest const root_digest_; std::vector<std::string> const cmdline_; std::vector<std::string> output_files_; std::vector<std::string> output_dirs_; - std::vector<bazel_re::Command_EnvironmentVariable> env_vars_; - std::vector<bazel_re::Platform_Property> properties_; + std::vector<bazel_re::Command_EnvironmentVariable> const env_vars_; + std::vector<bazel_re::Platform_Property> const properties_; CacheFlag cache_flag_{CacheFlag::CacheOutput}; std::chrono::milliseconds timeout_{kDefaultTimeout}; |