Skip to content

Commit

Permalink
fix forward declaration of bencode::connect
Browse files Browse the repository at this point in the history
  • Loading branch information
fbdtemme committed Sep 6, 2020
1 parent 56471bf commit dacaf77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/bencode/detail/events/concepts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ concept event_connecting_is_adl_overloaded =


// forward declaration
template <event_consumer EC, typename U, typename T = std::remove_cvref_t<U>>
requires serializable<T>
template <typename EC, typename U, typename T = std::remove_cvref_t<U>>
requires serializable<T> && event_consumer<EC>
constexpr void connect(EC& consumer, U&& producer);


Expand Down

0 comments on commit dacaf77

Please sign in to comment.