We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 731faad commit 948912fCopy full SHA for 948912f
1 file changed
src/core/promise.cxx
@@ -30,7 +30,7 @@ using frame_t = frame_type<checkpoint_t<Context>>;
30
// =============== Final =============== //
31
template <worker_context Context>
32
[[nodiscard]]
33
-constexpr auto final_suspend(frame_t<Context> *frame) noexcept -> coro<> {
+LF_FORCE_INLINE constexpr auto final_suspend(frame_t<Context> *frame) noexcept -> coro<> {
34
35
// Validate final state
36
LF_ASSUME(frame->steals == 0);
@@ -177,7 +177,7 @@ struct awaitable : std::suspend_always {
177
}
178
179
template <typename T>
180
- constexpr auto
+ LF_FORCE_INLINE constexpr auto
181
await_suspend(this awaitable self, coro<promise_type<T, Context>> parent) noexcept -> coro<> {
182
183
// TODO: Add tests for exception/cancellation handling in fork/call.
0 commit comments