DesCrypt::Decryptor: delete move,copy * constructor,operator.

This commit is contained in:
hashlag committed 2026-10-18 02:40:52 +03:00
1 parent e9c7b16d34
commit 9ec4e6f7e6
1 file changed
+6
+6
View File
@@ -311,6 +311,12 @@ public:
static constexpr size_t BlockSize = DesCrypt::BlockSize; static constexpr size_t BlockSize = DesCrypt::BlockSize;
static constexpr size_t KeySize = DesCrypt::KeySize; static constexpr size_t KeySize = DesCrypt::KeySize;
Decryptor(const Decryptor & other) = delete;
Decryptor(Decryptor && other) = delete;
Decryptor & operator=(const Decryptor & other) = delete;
Decryptor & operator=(Decryptor && other) = delete;
Decryptor(const Key & key) Decryptor(const Key & key)
: Schedule_(Inner_::KeySchedule::Direction::Decrypt, key.Key_) : Schedule_(Inner_::KeySchedule::Direction::Decrypt, key.Key_)
{ } { }