Skip to content

Commit 69e5754

Browse files
yaoxinliulewissbaker
authored andcommitted
avoid the compiler warning of -Wreorder
1 parent 932f085 commit 69e5754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cppcoro/shared_task.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ namespace cppcoro
7474
public:
7575

7676
shared_task_promise_base() noexcept
77-
: m_waiters(&this->m_waiters)
78-
, m_refCount(1)
77+
: m_refCount(1)
78+
, m_waiters(&this->m_waiters)
7979
, m_exception(nullptr)
8080
{}
8181

0 commit comments

Comments
 (0)