Add executor_type trait

This commit is contained in:
Vinnie Falco
2019-02-05 07:46:09 -08:00
parent 42d83b221a
commit 9cee4e053f
21 changed files with 97 additions and 98 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
#include <boost/beast/_experimental/test/stream.hpp>
#include <boost/beast/core/async_op_base.hpp>
#include <boost/beast/core/error.hpp>
#include <boost/beast/core/detail/get_executor_type.hpp>
#include <boost/beast/core/stream_traits.hpp>
#include <boost/beast/websocket.hpp>
#include <boost/asio/async_result.hpp>
#include <cstdlib>
@@ -75,7 +75,7 @@ class counted_stream
public:
/// The type of executor used by this stream
using executor_type = detail::get_executor_type<NextLayer>;
using executor_type = beast::executor_type<NextLayer>;
/// Constructor
template <class... Args>