clang-tidy: Use = delete

This commit is contained in:
Regina Pfeifer
2019-01-23 20:30:01 +01:00
committed by Brad King
parent d75fec5a88
commit b05b778a2d
58 changed files with 209 additions and 139 deletions

View File

@@ -15,8 +15,6 @@
*/
class cmCryptoHash
{
CM_DISABLE_COPY(cmCryptoHash)
public:
enum Algo
{
@@ -35,6 +33,9 @@ public:
cmCryptoHash(Algo algo);
~cmCryptoHash();
cmCryptoHash(cmCryptoHash const&) = delete;
cmCryptoHash& operator=(cmCryptoHash const&) = delete;
/// @brief Returns a new hash generator of the requested type
/// @arg algo Hash type name. Supported hash types are
/// MD5, SHA1, SHA224, SHA256, SHA384, SHA512,