diff options
Diffstat (limited to 'modules/io_codec/c++')
-rw-r--r-- | modules/io_codec/c++/io_peer.tmpl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/io_codec/c++/io_peer.tmpl.hpp b/modules/io_codec/c++/io_peer.tmpl.hpp index 26793b1..3dc11c8 100644 --- a/modules/io_codec/c++/io_peer.tmpl.hpp +++ b/modules/io_codec/c++/io_peer.tmpl.hpp @@ -103,8 +103,8 @@ streaming_io_peer<Incoming, Outgoing, Encoding, return io_stream_->on_read_disconnected(); } -template <typename Incoming, typename Outgoing, typename BufferT> -std::pair<own<streaming_io_peer<Incoming, Outgoing, BufferT>>, +template <typename Incoming, typename Outgoing, typename Encoding, typename BufferT> +std::pair<own<streaming_io_peer<Incoming, Outgoing, Encoding, BufferT>>, conveyor<data<Incoming,Encoding>>> new_streaming_io_peer(own<async_io_stream> stream) { auto caf = |