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

This commit is contained in:
hashlag committed 2026-10-18 01:30:43 +03:00
1 parent b464d6a6a2
commit 4214497426
1 file changed
+6
+6
View File
@@ -257,6 +257,12 @@ public:
static constexpr size_t BlockSize = DesCrypt::BlockSize;
static constexpr size_t KeySize = DesCrypt::KeySize;
Encryptor(const Encryptor & other) = delete;
Encryptor(Encryptor && other) = delete;
Encryptor & operator=(const Encryptor & other) = delete;
Encryptor & operator=(Encryptor && other) = delete;
Encryptor(const Key & key)
: Schedule_(Inner_::KeySchedule::Direction::Encrypt, key.Key_)
{ }