From d6f0006c0b12c74df2d93170262a017f15949320 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Sun, 23 Apr 2017 22:50:47 +0200 Subject: Use CM_DISABLE_COPY --- Source/cmCryptoHash.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Source/cmCryptoHash.h') diff --git a/Source/cmCryptoHash.h b/Source/cmCryptoHash.h index ac92c48c05..c380d85ff2 100644 --- a/Source/cmCryptoHash.h +++ b/Source/cmCryptoHash.h @@ -3,7 +3,7 @@ #ifndef cmCryptoHash_h #define cmCryptoHash_h -#include "cmConfigure.h" // IWYU pragma: keep +#include "cmConfigure.h" #include #include @@ -16,6 +16,8 @@ */ class cmCryptoHash { + CM_DISABLE_COPY(cmCryptoHash) + public: enum Algo { @@ -78,9 +80,6 @@ public: std::string FinalizeHex(); private: - cmCryptoHash(cmCryptoHash const&); - cmCryptoHash& operator=(cmCryptoHash const&); - unsigned int Id; struct rhash_context* CTX; }; -- cgit v1.2.1