diff --git a/beast/asio/bind_handler.h b/beast/asio/bind_handler.h index 778b37230..968fb8620 100644 --- a/beast/asio/bind_handler.h +++ b/beast/asio/bind_handler.h @@ -56,6 +56,7 @@ private: public: typedef void result_type; + explicit bound_handler (DeducedHandler&& handler, Args&&... args) : m_handler (std::forward (handler)) , m_args (std::forward (args)...) diff --git a/beast/module/asio/basics/SSLContext.h b/beast/module/asio/basics/SSLContext.h index 847927cb6..8310914aa 100644 --- a/beast/module/asio/basics/SSLContext.h +++ b/beast/module/asio/basics/SSLContext.h @@ -20,6 +20,7 @@ #ifndef BEAST_ASIO_BASICS_SSLCONTEXT_H_INCLUDED #define BEAST_ASIO_BASICS_SSLCONTEXT_H_INCLUDED +#include #include namespace beast { diff --git a/beast/module/asio/basics/SharedArg.h b/beast/module/asio/basics/SharedArg.h index cac7e86f2..7e2163626 100644 --- a/beast/module/asio/basics/SharedArg.h +++ b/beast/module/asio/basics/SharedArg.h @@ -20,6 +20,8 @@ #ifndef BEAST_ASIO_SHAREDARG_H_INCLUDED #define BEAST_ASIO_SHAREDARG_H_INCLUDED +#include + namespace beast { namespace asio {