From dbac8a19685b83dd1d656201da900a20e11428f2 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 24 Jun 2024 12:20:32 +0200 Subject: Introduce a type allias for an optional ptr to IExecutionApi ...and replace verbose constructions. --- test/buildtool/execution_engine/executor/executor.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 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 26fd9b7d..b9772817 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -149,8 +149,8 @@ class TestApi : public IExecutionApi { [[nodiscard]] auto RetrieveToPaths( std::vector const& /*unused*/, std::vector const& /*unused*/, - std::optional> const& /* unused */) - const noexcept -> bool final { + IExecutionApi::OptionalPtr const& /* unused */) const noexcept + -> bool final { return false; // not needed by Executor } [[nodiscard]] auto RetrieveToFds( -- cgit v1.2.3