From 000e6994a44acfef85d29bc60c54f4e5e6887fd0 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 02:09:45 +0300 Subject: [PATCH] DesCrypt::Key: delete move,copy * constructor,operator. --- Chaos/Cipher/Block/Des/DesCrypt.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Cipher/Block/Des/DesCrypt.hpp b/Chaos/Cipher/Block/Des/DesCrypt.hpp index 6d6c7cf..203af24 100644 --- a/Chaos/Cipher/Block/Des/DesCrypt.hpp +++ b/Chaos/Cipher/Block/Des/DesCrypt.hpp @@ -226,6 +226,12 @@ public: { friend class DesCrypt; public: + Key(const Key & other) = delete; + Key(Key && other) = delete; + + Key & operator=(const Key & other) = delete; + Key & operator=(Key && other) = delete; + template Key(InputIt keyBegin, InputIt keyEnd) {