From b44659f5e8c66d9a4fc8345f083530442ea240c1 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Sat, 22 Apr 2017 00:31:52 +0200 Subject: [PATCH] cmCryptoHash: make noncopyable --- Source/cmCryptoHash.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmCryptoHash.h b/Source/cmCryptoHash.h index 021ad10283..ac92c48c05 100644 --- a/Source/cmCryptoHash.h +++ b/Source/cmCryptoHash.h @@ -78,6 +78,9 @@ public: std::string FinalizeHex(); private: + cmCryptoHash(cmCryptoHash const&); + cmCryptoHash& operator=(cmCryptoHash const&); + unsigned int Id; struct rhash_context* CTX; };