From 6638e46dd91d35ab7440e6a0d68b9c4558fc43b7 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:46:16 +0300 Subject: [PATCH] Sha1: delete move,copy * constructor,operator. --- Chaos/Hash/Sha1.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Hash/Sha1.hpp b/Chaos/Hash/Sha1.hpp index a85c360..98eb9fa 100644 --- a/Chaos/Hash/Sha1.hpp +++ b/Chaos/Hash/Sha1.hpp @@ -169,6 +169,12 @@ public: ResetImpl(); } + Sha1Hasher(const Sha1Hasher & other) = delete; + Sha1Hasher(Sha1Hasher && other) = delete; + + Sha1Hasher & operator=(const Sha1Hasher & other) = delete; + Sha1Hasher & operator=(Sha1Hasher && other) = delete; + void Reset() { ResetImpl();