summaryrefslogtreecommitdiffstats
path: root/Source/cmCryptoHash.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 22:31:52 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 22:48:19 (GMT)
commitb44659f5e8c66d9a4fc8345f083530442ea240c1 (patch)
tree31a9a77c480264cd4da1386224427937a68d6ca1 /Source/cmCryptoHash.h
parent7284b15f8c9bb20618e5286b41ff2f13245dfb9c (diff)
downloadCMake-b44659f5e8c66d9a4fc8345f083530442ea240c1.zip
CMake-b44659f5e8c66d9a4fc8345f083530442ea240c1.tar.gz
CMake-b44659f5e8c66d9a4fc8345f083530442ea240c1.tar.bz2
cmCryptoHash: make noncopyable
Diffstat (limited to 'Source/cmCryptoHash.h')
-rw-r--r--Source/cmCryptoHash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCryptoHash.h b/Source/cmCryptoHash.h
index 021ad10..ac92c48 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;
};