summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/fetch.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-25 16:47:10 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-06-27 11:24:20 +0200
commit3f75861a2d60fc5a2fd9c9894267f1df72f66c47 (patch)
tree2003b1e9c33e96d38110d32b6160c04c984def55 /src/other_tools/just_mr/fetch.cpp
parent4625d391cad4d04f9adca4484da687b2adb1fed6 (diff)
downloadjustbuild-3f75861a2d60fc5a2fd9c9894267f1df72f66c47.tar.gz
Use a raw pointer for passing optional RepositoryConfig
...instead of std::optional<gsl::not_null<RepositoryConfig const*>>.
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r--src/other_tools/just_mr/fetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp
index a31368b9..ab6e593b 100644
--- a/src/other_tools/just_mr/fetch.cpp
+++ b/src/other_tools/just_mr/fetch.cpp
@@ -397,7 +397,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
common_args.remote_serve_address,
auth_args);
- ApiBundle const apis{std::nullopt, RemoteExecutionConfig::RemoteAddress()};
+ ApiBundle const apis{nullptr, RemoteExecutionConfig::RemoteAddress()};
bool const has_remote_api =
apis.local != apis.remote and not common_args.compatible;