Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomatenkuchen
Copy link

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!

…issue with std::exchange.

appended noexcept to cppcoro::detail::task_promise::final_awaitable::await_suspend in CPPCORO_COMPILER_SUPPORTS_SYMMETRIC_TRANSFER=0 mode (for gcc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant