Skip to content

Commit e90d74d

Browse files
authored
Merge pull request #1968 from wheremyfoodat/fix-coroutine
Fix coroutine build on AppleClang 17
2 parents a56a96b + 62a23f8 commit e90d74d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/support/coroutine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ struct Coroutine {
105105
return {};
106106
}
107107
void return_value(T &&value) { coroutine->m_value = std::forward(value); }
108-
Coroutine<T> coroutine = nullptr;
108+
Coroutine<T> *coroutine = nullptr;
109109
};
110110
typedef typename std::conditional<std::is_void<T>::value, PromiseVoid, PromiseValue>::type Promise;
111111
Coroutine(CoroutineHandle<Promise> &&handle) : m_handle(std::move(handle)) {}

0 commit comments

Comments
 (0)