From b464d6a6a24d4c0aeac69720883ee1b41b130471 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:27:51 +0300 Subject: [PATCH] DesCrypt: 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 924e38c..cf5bd97 100644 --- a/Chaos/Cipher/Block/Des/DesCrypt.hpp +++ b/Chaos/Cipher/Block/Des/DesCrypt.hpp @@ -216,6 +216,12 @@ public: DesCrypt() = delete; + DesCrypt(const DesCrypt & other) = delete; + DesCrypt(DesCrypt && other) = delete; + + DesCrypt & operator=(const DesCrypt & other) = delete; + DesCrypt & operator=(DesCrypt && other) = delete; + class Key { friend class DesCrypt;