member get_executor const-correctness

fix #1559
This commit is contained in:
Vinnie Falco committed 2019-04-19 11:18:55 -07:00
1 parent db118f4dc4
commit 0a334d96d1
5 files changed
+7 -6

No files matched your search

+3 -3
View File
@@ -213,14 +213,14 @@ public:
struct async_read_stream
{
net::io_context::executor_type get_executor();
net::io_context::executor_type get_executor() noexcept;
template<class MutableBufferSequence, class ReadHandler>
void async_read_some(MutableBufferSequence const&, ReadHandler&&);
};
struct async_write_stream
{
net::io_context::executor_type get_executor();
net::io_context::executor_type get_executor() noexcept;
template<class ConstBufferSequence, class WriteHandler>
void async_write_some(ConstBufferSequence const&, WriteHandler&&);
};
@@ -231,7 +231,7 @@ public:
struct async_stream : async_read_stream, async_write_stream
{
net::io_context::executor_type get_executor();
net::io_context::executor_type get_executor() noexcept;
template<class MutableBufferSequence, class ReadHandler>
void async_read_some(MutableBufferSequence const&, ReadHandler&&);
template<class ConstBufferSequence, class WriteHandler>