Skip to content

Commit 948912f

Browse files
author
Conor
committed
minimal inlines
1 parent 731faad commit 948912f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/promise.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ using frame_t = frame_type<checkpoint_t<Context>>;
3030
// =============== Final =============== //
3131
template <worker_context Context>
3232
[[nodiscard]]
33-
constexpr auto final_suspend(frame_t<Context> *frame) noexcept -> coro<> {
33+
LF_FORCE_INLINE constexpr auto final_suspend(frame_t<Context> *frame) noexcept -> coro<> {
3434

3535
// Validate final state
3636
LF_ASSUME(frame->steals == 0);
@@ -177,7 +177,7 @@ struct awaitable : std::suspend_always {
177177
}
178178

179179
template <typename T>
180-
constexpr auto
180+
LF_FORCE_INLINE constexpr auto
181181
await_suspend(this awaitable self, coro<promise_type<T, Context>> parent) noexcept -> coro<> {
182182

183183
// TODO: Add tests for exception/cancellation handling in fork/call.

0 commit comments

Comments
 (0)