fix ci: move to stdexec::inline_scheduler
Move from `exec::inline_scheduler` to `stdexec::inline_scheduler`.
Looks like the definition has been deprecated and is pointing to
`stdexec::inline_scheduler` anyways.
the relevant header
```
namespace exec {
// A simple scheduler that executes its continuation inline, on the
// thread of the caller of start().
using inline_scheduler
[[deprecated("Use stdexec::inline_scheduler instead")]] = stdexec::inline_scheduler;
} // namespace exec
```
Tested: Inspection only.
Fixes: 10d0b4b7d1498cfd5c3d37edea271a54d1984e41
Change-Id: I1d23cb624e8902c541eeb31bd31155a3207a2da9
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/platform-mc/sensor_manager.cpp b/platform-mc/sensor_manager.cpp
index 1cd4826..6a1994d 100644
--- a/platform-mc/sensor_manager.cpp
+++ b/platform-mc/sensor_manager.cpp
@@ -155,7 +155,7 @@
rcOpt = PLDM_SUCCESS;
}
}),
- exec::default_task_context<void>(exec::inline_scheduler{}));
+ exec::default_task_context<void>(stdexec::inline_scheduler{}));
}
exec::task<int> SensorManager::doSensorPollingTask(pldm_tid_t tid)
diff --git a/platform-mc/terminus_manager.cpp b/platform-mc/terminus_manager.cpp
index bcbbb95..5c5ede6 100644
--- a/platform-mc/terminus_manager.cpp
+++ b/platform-mc/terminus_manager.cpp
@@ -164,7 +164,7 @@
auto& [scope, rcOpt] = discoverMctpTerminusTaskHandle.emplace();
scope.spawn(discoverMctpTerminusTask() |
stdexec::then([&](int rc) { rcOpt.emplace(rc); }),
- exec::default_task_context<void>(exec::inline_scheduler{}));
+ exec::default_task_context<void>(stdexec::inline_scheduler{}));
}
TerminiMapper::iterator TerminusManager::findTerminusPtr(
diff --git a/requester/test/handler_test.cpp b/requester/test/handler_test.cpp
index caa4663..a3c06e5 100644
--- a/requester/test/handler_test.cpp
+++ b/requester/test/handler_test.cpp
@@ -197,7 +197,7 @@
EXPECT_EQ(validResponse, true);
}),
- exec::default_task_context<void>(exec::inline_scheduler{}));
+ exec::default_task_context<void>(stdexec::inline_scheduler{}));
pldm::Response mockResponse(sizeof(pldm_msg_hdr) + sizeof(uint8_t), 0);
auto mockResponsePtr =
@@ -231,7 +231,7 @@
EXPECT_TRUE(false); // unreachable
}) | stdexec::upon_stopped([&] { stopped = true; }),
- exec::default_task_context<void>(exec::inline_scheduler{}));
+ exec::default_task_context<void>(stdexec::inline_scheduler{}));
scope.request_stop();
@@ -285,7 +285,7 @@
EXPECT_EQ(expectedTid, respTid);
}),
- exec::default_task_context<void>(exec::inline_scheduler{}));
+ exec::default_task_context<void>(stdexec::inline_scheduler{}));
pldm::Response mockResponse(sizeof(pldm_msg_hdr) + PLDM_GET_TID_RESP_BYTES,
0);