diff --git a/source/mijin/async/coroutine.hpp b/source/mijin/async/coroutine.hpp index ca4d843..46b8d2c 100644 --- a/source/mijin/async/coroutine.hpp +++ b/source/mijin/async/coroutine.hpp @@ -335,8 +335,7 @@ struct TaskPromise : impl::TaskReturn -[[nodiscard("Tasks should either we awaited or added to a loop.")]] -class TaskBase +class [[nodiscard("Tasks should either we awaited or added to a loop.")]] TaskBase { public: using task_t = TaskBase;