From 62903ff9be3a7a2393dbff1bd2a6b56e3d17ccd2 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:34:44 +0300 Subject: [PATCH] EcbMode: delete move,copy * constructor,operator. --- Chaos/Cipher/Block/Mode/Ecb.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Cipher/Block/Mode/Ecb.hpp b/Chaos/Cipher/Block/Mode/Ecb.hpp index cfc9337..95d004e 100644 --- a/Chaos/Cipher/Block/Mode/Ecb.hpp +++ b/Chaos/Cipher/Block/Mode/Ecb.hpp @@ -21,6 +21,12 @@ public: EcbMode() = delete; + EcbMode(const EcbMode & other) = delete; + EcbMode(EcbMode && other) = delete; + + EcbMode & operator=(const EcbMode & other) = delete; + EcbMode & operator=(EcbMode && other) = delete; + class Encryptor { public: