cppcoro icon indicating copy to clipboard operation
cppcoro copied to clipboard

added <utility> as dependancy for static_thread_pool.cpp

Open tomatenkuchen opened this issue 2 years ago • 0 comments

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!

tomatenkuchen avatar Oct 12 '21 16:10 tomatenkuchen