From 2b4972fe95f4776160ac7661cd7e54eecaba56cc Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:41:54 +0300 Subject: [PATCH] Arc4Gen: delete move,copy * constructor,operator. --- Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp b/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp index b2c6173..a89ebf7 100644 --- a/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp +++ b/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp @@ -18,6 +18,12 @@ public: : IsInitialized_(false) { } + Arc4Gen(const Arc4Gen & other) = delete; + Arc4Gen(Arc4Gen && other) = delete; + + Arc4Gen & operator=(const Arc4Gen & other) = delete; + Arc4Gen & operator=(Arc4Gen && other) = delete; + template Arc4Gen(InputIt keyBegin, InputIt keyEnd) {