Add missing includes and tidy up

This commit is contained in:
Vinnie Falco
2014-09-16 14:03:50 -07:00
parent b5384cc964
commit 579b1e6f79
3 changed files with 7 additions and 1 deletions

View File

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

View File

@@ -27,6 +27,7 @@
#include <beast/asio/shared_handler.h>
#include <boost/asio/detail/handler_cont_helpers.hpp>
#include <boost/asio/streambuf.hpp>
namespace beast {
namespace asio {

View File

@@ -36,7 +36,7 @@ namespace asio {
Write operations are all simply passed through.
*/
template <class Stream>
class PrefilledReadStream : public Uncopyable
class PrefilledReadStream
{
protected:
typedef boost::system::error_code error_code;
@@ -47,6 +47,9 @@ protected:
}
public:
PrefilledReadStream (PrefilledReadStream const&) = delete;
PrefilledReadStream& operator= (PrefilledReadStream const&) = delete;
typedef std::remove_reference_t <Stream> next_layer_type;
typedef typename next_layer_type::lowest_layer_type lowest_layer_type;