Some cleanup for clang/clang-tidy.

This commit is contained in:
2023-02-06 18:13:56 +01:00
parent dae28a9db5
commit 10dc3c3e54
3 changed files with 35 additions and 34 deletions

View File

@@ -140,7 +140,7 @@ auto RemoveStopTask(Task<tRet, RefType, Resumable>& in_taskToStop)
template <typename tRet, eTaskRef RefType, eTaskResumable Resumable, typename promise_type>
struct TaskAwaiterBase
{
TaskAwaiterBase(const Task<tRet, RefType, Resumable>& in_task)
TaskAwaiterBase(const Task<tRet, RefType, Resumable>& /* in_task */)
{
// This constructor exists to minimize downstream compile-error spam when co_awaiting a non-copyable Task by copy
}
@@ -417,7 +417,7 @@ public:
return std::suspend_never();
}
auto await_transform(GetStopContext in_awaiter)
auto await_transform(GetStopContext /* in_awaiter */)
{
struct GetStopContextAwaiter : public std::suspend_never
{