lewissbaker / cppcoro

A library of C++ coroutine abstractions for the coroutines TS
MIT License
3.36k stars 462 forks source link

added <utility> as dependancy for static_thread_pool.cpp #206

Open tomatenkuchen opened 2 years ago

tomatenkuchen commented 2 years ago

Hi! I had compilation errors on static_thread_pool.cpp with my gcc-12 compiler, claming std::exchange doesn't belong to std namespace. It compiled after appeding to the includes.

Also in tasks.hpp my compiler complained that (in gcc case) await_suspend must be noexcept.

I hope that helps!