We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e24f3 commit 4a9bc5fCopy full SHA for 4a9bc5f
include/dpp/coro/awaitable.h
@@ -616,7 +616,7 @@ class moveable_promise {
616
* @copydoc basic_promise<T>::set_value(T&&)
617
*/
618
template <bool Notify = true, typename U = T>
619
- void set_value(U&& v) requires (std::convertible_to<const U&, T>) {
+ void set_value(U&& v) requires (std::convertible_to<U&&, T>) {
620
shared_state->template set_value<Notify>(std::move(v));
621
}
622
0 commit comments