Skip to content

Commit 183bfd8

Browse files
authored
add back static on member functions that do not need a this pointer
1 parent 206f238 commit 183bfd8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/exec/task.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,16 +320,16 @@ namespace exec {
320320

321321
private:
322322
struct __final_awaitable {
323-
constexpr auto await_ready() noexcept -> bool {
323+
static constexpr auto await_ready() noexcept -> bool {
324324
return false;
325325
}
326326

327-
auto await_suspend(__coro::coroutine_handle<__promise> __h) noexcept
327+
static auto await_suspend(__coro::coroutine_handle<__promise> __h) noexcept
328328
-> __coro::coroutine_handle<> {
329329
return __h.promise().continuation().handle();
330330
}
331331

332-
void await_resume() noexcept {
332+
static void await_resume() noexcept {
333333
}
334334
};
335335

0 commit comments

Comments
 (0)