Skip to content

Commit 4a9bc5f

Browse files
authored
Update awaitable.h
1 parent 19e24f3 commit 4a9bc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/dpp/coro/awaitable.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ class moveable_promise {
616616
* @copydoc basic_promise<T>::set_value(T&&)
617617
*/
618618
template <bool Notify = true, typename U = T>
619-
void set_value(U&& v) requires (std::convertible_to<const U&, T>) {
619+
void set_value(U&& v) requires (std::convertible_to<U&&, T>) {
620620
shared_state->template set_value<Notify>(std::move(v));
621621
}
622622

0 commit comments

Comments
 (0)