aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-07-28 19:37:49 +0000
committerlloyd <[email protected]>2012-07-28 19:37:49 +0000
commit85c6fae2a34bd5a42569b662dfaca27e0ec1d08f (patch)
tree10c80fe6d18b8926720b293a617bbc8664a60f3b
parent9e52358bb627c68d0e8c94a2a12d5e46aa6376d3 (diff)
Make Handshake_Writer non-copyable
-rw-r--r--src/tls/tls_handshake_writer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tls/tls_handshake_writer.h b/src/tls/tls_handshake_writer.h
index 7edf28e74..3bbb1c93e 100644
--- a/src/tls/tls_handshake_writer.h
+++ b/src/tls/tls_handshake_writer.h
@@ -33,6 +33,12 @@ class Handshake_Writer
const std::vector<byte>& handshake_msg,
Handshake_Type handshake_type) = 0;
+ Handshake_Writer() {}
+
+ Handshake_Writer(const Handshake_Writer&) = delete;
+
+ Handshake_Writer& operator=(const Handshake_Writer&) = delete;
+
virtual ~Handshake_Writer() {}
};