Make bind_handler variadic ctor explicit

This commit is contained in:
Vinnie Falco
2014-07-23 13:48:47 -07:00
parent 96e1ec6d31
commit 2f5fb1e68e
3 changed files with 4 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ private:
public:
typedef void result_type;
explicit
bound_handler (DeducedHandler&& handler, Args&&... args)
: m_handler (std::forward <DeducedHandler> (handler))
, m_args (std::forward <Args> (args)...)

View File

@@ -20,6 +20,7 @@
#ifndef BEAST_ASIO_BASICS_SSLCONTEXT_H_INCLUDED
#define BEAST_ASIO_BASICS_SSLCONTEXT_H_INCLUDED
#include <beast/Uncopyable.h>
#include <boost/asio/ssl/context.hpp>
namespace beast {

View File

@@ -20,6 +20,8 @@
#ifndef BEAST_ASIO_SHAREDARG_H_INCLUDED
#define BEAST_ASIO_SHAREDARG_H_INCLUDED
#include <beast/smart_ptr/SharedPtr.h>
namespace beast {
namespace asio {