From 62a23f8f0247f3ca36b231bd063aba295f761096 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Thu, 11 Sep 2025 01:01:23 +0300 Subject: [PATCH] Fix coroutine build on AppleClang 17 --- src/support/coroutine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/coroutine.h b/src/support/coroutine.h index 12996aef2..7410dfb2a 100644 --- a/src/support/coroutine.h +++ b/src/support/coroutine.h @@ -105,7 +105,7 @@ struct Coroutine { return {}; } void return_value(T &&value) { coroutine->m_value = std::forward(value); } - Coroutine coroutine = nullptr; + Coroutine *coroutine = nullptr; }; typedef typename std::conditional::value, PromiseVoid, PromiseValue>::type Promise; Coroutine(CoroutineHandle &&handle) : m_handle(std::move(handle)) {}