diff options
-rw-r--r-- | src/lib/asio/asio_stream.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/asio/asio_stream.h b/src/lib/asio/asio_stream.h index 540d48767..dc8c4561f 100644 --- a/src/lib/asio/asio_stream.h +++ b/src/lib/asio/asio_stream.h @@ -59,6 +59,12 @@ class Stream : public StreamBase<Channel> : StreamBase<Channel>(std::forward<Args>(args)...), nextLayer_(std::forward<StreamLayer>(nextLayer)) {} + Stream(Stream &&other) = default; + Stream& operator=(Stream &&other) = default; + + Stream(const Stream &other) = delete; + Stream& operator=(const Stream &other) = delete; + // // -- -- accessor methods // |