summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-01-23 09:03:14 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-01-24 15:57:44 +0100
commitf6c2fe3e30bc5e92e2c8134fb2135a532788bc3b (patch)
tree61125268304649f5ba71c0e67195a5d84210b5ae /test/buildtool/execution_engine/executor
parent1c0ad764c0c1e55be393ef0074c8935b3f9c97eb (diff)
downloadjustbuild-f6c2fe3e30bc5e92e2c8134fb2135a532788bc3b.tar.gz
just: Wrap IExecutionApi raw pointer arguments
...in accordance to our coding style.
Diffstat (limited to 'test/buildtool/execution_engine/executor')
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index c60326c1..0b4561e0 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -138,9 +138,12 @@ class TestApi : public IExecutionApi {
-> IExecutionAction::Ptr final {
return IExecutionAction::Ptr{new TestAction(config_)};
}
- auto RetrieveToPaths(std::vector<Artifact::ObjectInfo> const& /*unused*/,
- std::vector<std::filesystem::path> const& /*unused*/,
- IExecutionApi* /* unused */) noexcept -> bool final {
+ auto RetrieveToPaths(
+ std::vector<Artifact::ObjectInfo> const& /*unused*/,
+ std::vector<std::filesystem::path> const& /*unused*/,
+ std::optional<
+ gsl::not_null<IExecutionApi*>> const& /* unused */) noexcept
+ -> bool final {
return false; // not needed by Executor
}
auto RetrieveToFds(std::vector<Artifact::ObjectInfo> const& /*unused*/,