member get_executor const-correctness

fix #1559
This commit is contained in:
Vinnie Falco
2019-04-19 11:18:55 -07:00
parent db118f4dc4
commit 0a334d96d1
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ public:
@return A copy of the executor that stream will use to dispatch handlers.
*/
executor_type
get_executor() const noexcept
get_executor() noexcept
{
return impl_->ex();
}
@@ -63,7 +63,7 @@ stream(Args&&... args)
template<class NextLayer, bool deflateSupported>
auto
stream<NextLayer, deflateSupported>::
get_executor() const noexcept ->
get_executor() noexcept ->
executor_type
{
return impl_->stream().get_executor();
+1 -1
View File
@@ -220,7 +220,7 @@ public:
@return A copy of the executor that stream will use to dispatch handlers.
*/
executor_type
get_executor() const noexcept;
get_executor() noexcept;
/** Get a reference to the next layer