summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/git
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/git')
-rw-r--r--src/buildtool/execution_api/git/git_api.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/git/git_api.hpp b/src/buildtool/execution_api/git/git_api.hpp
index f4e1dbd3..56cd78ab 100644
--- a/src/buildtool/execution_api/git/git_api.hpp
+++ b/src/buildtool/execution_api/git/git_api.hpp
@@ -33,7 +33,7 @@
class GitApi final : public IExecutionApi {
public:
GitApi() = delete;
- explicit GitApi(gsl::not_null<RepositoryConfig*> const& repo_config)
+ explicit GitApi(gsl::not_null<const RepositoryConfig*> const& repo_config)
: repo_config_{repo_config} {}
auto CreateAction(
ArtifactDigest const& /*root_digest*/,
@@ -311,7 +311,7 @@ class GitApi final : public IExecutionApi {
}
private:
- gsl::not_null<RepositoryConfig*> repo_config_;
+ gsl::not_null<const RepositoryConfig*> repo_config_;
};
#endif