diff --git a/Channel.hpp b/Channel.hpp index d7e8692..31abcae 100644 --- a/Channel.hpp +++ b/Channel.hpp @@ -280,7 +280,7 @@ namespace _detail { template auto operator<<(const IsSenderPtr auto& sender, U&& message) -> const IsSenderPtr auto& -requires std::movable && IsConvertible, U> { +requires std::movable && IsConvertible> { if (!sender->send(std::forward(message))) { _detail::closedHandler(); } @@ -289,7 +289,7 @@ requires std::movable && IsConvertible, U> { template auto operator<<(const IsSenderPtr auto& sender, const U& message) -> const IsSenderPtr auto& -requires std::is_copy_constructible_v && IsConvertible, U> { +requires std::is_copy_constructible_v && IsConvertible> { if (!sender->send(message)) { _detail::closedHandler(); }