diff options
Diffstat (limited to 'Source/cmCryptoHash.h')
-rw-r--r-- | Source/cmCryptoHash.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmCryptoHash.h b/Source/cmCryptoHash.h index ac92c48..c380d85 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 <stddef.h> #include <string> @@ -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; }; |