From f6c2fe3e30bc5e92e2c8134fb2135a532788bc3b Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 23 Jan 2024 09:03:14 +0100 Subject: just: Wrap IExecutionApi raw pointer arguments ...in accordance to our coding style. --- src/buildtool/execution_api/common/execution_api.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/common/execution_api.hpp') diff --git a/src/buildtool/execution_api/common/execution_api.hpp b/src/buildtool/execution_api/common/execution_api.hpp index d6ec49fb..43e16783 100644 --- a/src/buildtool/execution_api/common/execution_api.hpp +++ b/src/buildtool/execution_api/common/execution_api.hpp @@ -70,7 +70,8 @@ class IExecutionApi { [[nodiscard]] virtual auto RetrieveToPaths( std::vector const& artifacts_info, std::vector const& output_paths, - IExecutionApi* alternative = nullptr) noexcept -> bool = 0; + std::optional> const& alternative = + std::nullopt) noexcept -> bool = 0; /// \brief Retrieve artifacts from CAS and write to file descriptors. /// Tree artifacts are not resolved and instead the tree object will be -- cgit v1.2.3