From 1dcd06a1c17d2d33f4aeb6345cc0dfb1453c228e Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 16 Sep 2014 14:03:50 -0700 Subject: [PATCH] Add missing includes and tidy up --- .../beast/module/asio/protocol/HandshakeDetectLogicSSL3.h | 2 ++ src/beast/beast/module/asio/protocol/HandshakeDetector.h | 1 + src/beast/beast/module/asio/protocol/PrefilledReadStream.h | 5 ++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/beast/beast/module/asio/protocol/HandshakeDetectLogicSSL3.h b/src/beast/beast/module/asio/protocol/HandshakeDetectLogicSSL3.h index d77bed1ed..e4557fc9f 100644 --- a/src/beast/beast/module/asio/protocol/HandshakeDetectLogicSSL3.h +++ b/src/beast/beast/module/asio/protocol/HandshakeDetectLogicSSL3.h @@ -20,6 +20,8 @@ #ifndef BEAST_ASIO_HANDSHAKE_HANDSHAKEDETECTLOGICSSL3_H_INCLUDED #define BEAST_ASIO_HANDSHAKE_HANDSHAKEDETECTLOGICSSL3_H_INCLUDED +#include + namespace beast { namespace asio { diff --git a/src/beast/beast/module/asio/protocol/HandshakeDetector.h b/src/beast/beast/module/asio/protocol/HandshakeDetector.h index f4281a664..eb5742831 100644 --- a/src/beast/beast/module/asio/protocol/HandshakeDetector.h +++ b/src/beast/beast/module/asio/protocol/HandshakeDetector.h @@ -27,6 +27,7 @@ #include #include +#include namespace beast { namespace asio { diff --git a/src/beast/beast/module/asio/protocol/PrefilledReadStream.h b/src/beast/beast/module/asio/protocol/PrefilledReadStream.h index 6bbb99d57..6adf0dc7e 100644 --- a/src/beast/beast/module/asio/protocol/PrefilledReadStream.h +++ b/src/beast/beast/module/asio/protocol/PrefilledReadStream.h @@ -36,7 +36,7 @@ namespace asio { Write operations are all simply passed through. */ template -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 next_layer_type; typedef typename next_layer_type::lowest_layer_type lowest_layer_type;