diff --git a/beast/module/asio/protocol/HandshakeDetectLogicSSL3.h b/beast/module/asio/protocol/HandshakeDetectLogicSSL3.h index d77bed1edf..e4557fc9ff 100644 --- a/beast/module/asio/protocol/HandshakeDetectLogicSSL3.h +++ b/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/beast/module/asio/protocol/HandshakeDetector.h b/beast/module/asio/protocol/HandshakeDetector.h index f4281a6641..eb57428317 100644 --- a/beast/module/asio/protocol/HandshakeDetector.h +++ b/beast/module/asio/protocol/HandshakeDetector.h @@ -27,6 +27,7 @@ #include #include +#include namespace beast { namespace asio { diff --git a/beast/module/asio/protocol/PrefilledReadStream.h b/beast/module/asio/protocol/PrefilledReadStream.h index 6bbb99d57c..6adf0dc7e4 100644 --- a/beast/module/asio/protocol/PrefilledReadStream.h +++ b/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;