summaryrefslogtreecommitdiff
path: root/Source/cmCryptoHash.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-23 22:50:47 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-24 22:03:06 +0200
commitd6f0006c0b12c74df2d93170262a017f15949320 (patch)
tree79e25c4662deb2b4875daca4bca61bc9e9cc4dbe /Source/cmCryptoHash.h
parent3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff)
downloadcmake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz
Use CM_DISABLE_COPY
Diffstat (limited to 'Source/cmCryptoHash.h')
-rw-r--r--Source/cmCryptoHash.h7
1 files changed, 3 insertions, 4 deletions
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 <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;
};