From 4625d391cad4d04f9adca4484da687b2adb1fed6 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 25 Jun 2024 16:14:51 +0200 Subject: Use a raw pointer for passing optional IExecutionApi ...instead of std::optional> --- test/buildtool/execution_engine/executor/executor.test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp') diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index b9772817..f063ffe4 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -149,8 +149,7 @@ class TestApi : public IExecutionApi { [[nodiscard]] auto RetrieveToPaths( std::vector const& /*unused*/, std::vector const& /*unused*/, - IExecutionApi::OptionalPtr const& /* unused */) const noexcept - -> bool final { + IExecutionApi const* /* unused */) const noexcept -> bool final { return false; // not needed by Executor } [[nodiscard]] auto RetrieveToFds( -- cgit v1.2.3