We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a56a96b + 62a23f8 commit e90d74dCopy full SHA for e90d74d
1 file changed
src/support/coroutine.h
@@ -105,7 +105,7 @@ struct Coroutine {
105
return {};
106
}
107
void return_value(T &&value) { coroutine->m_value = std::forward(value); }
108
- Coroutine<T> coroutine = nullptr;
+ Coroutine<T> *coroutine = nullptr;
109
};
110
typedef typename std::conditional<std::is_void<T>::value, PromiseVoid, PromiseValue>::type Promise;
111
Coroutine(CoroutineHandle<Promise> &&handle) : m_handle(std::move(handle)) {}
0 commit comments