From fbdc39de29a0efbcd13ad169c844189168d2110d Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Mon, 11 Jan 2016 21:52:38 +0100 Subject: cppcheck fixes: Class 'X' has a constructor with 1 argument that is not explicit. --- src/lib/mac/hmac/hmac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/mac/hmac/hmac.h') diff --git a/src/lib/mac/hmac/hmac.h b/src/lib/mac/hmac/hmac.h index 5154739d2..654a167e7 100644 --- a/src/lib/mac/hmac/hmac.h +++ b/src/lib/mac/hmac/hmac.h @@ -34,7 +34,7 @@ class BOTAN_DLL HMAC final : public MessageAuthenticationCode /** * @param hash the hash to use for HMACing */ - HMAC(HashFunction* hash); + explicit HMAC(HashFunction* hash); static HMAC* make(const Spec& spec); -- cgit v1.2.3