We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 120cbdc commit 32b5632Copy full SHA for 32b5632
1 file changed
Crypto/include/Poco/Crypto/Cipher.h
@@ -99,7 +99,10 @@ class Crypto_API Cipher: public Poco::RefCountedObject
99
ENC_BINHEX_NO_LF = 0x82, /// BinHex-encoded output, no linefeeds
100
101
};
102
-
+
103
+ Cipher(Cipher&&) = delete;
104
+ /// Expreesively says that Cipher doesn't copy or move.
105
106
virtual ~Cipher();
107
/// Destroys the Cipher.
108
@@ -128,9 +131,6 @@ class Crypto_API Cipher: public Poco::RefCountedObject
128
131
Cipher();
129
132
/// Creates a new Cipher object.
130
133
-private:
- Cipher(const Cipher&);
- Cipher& operator = (const Cipher&);
134
135
136
0 commit comments