From 3f75861a2d60fc5a2fd9c9894267f1df72f66c47 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 25 Jun 2024 16:47:10 +0200 Subject: Use a raw pointer for passing optional RepositoryConfig ...instead of std::optional>. --- src/other_tools/just_mr/fetch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/just_mr/fetch.cpp') 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 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; -- cgit v1.2.3