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/pk_pad/emsa1/emsa1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/pk_pad/emsa1') diff --git a/src/lib/pk_pad/emsa1/emsa1.h b/src/lib/pk_pad/emsa1/emsa1.h index 3e10162b2..e346167da 100644 --- a/src/lib/pk_pad/emsa1/emsa1.h +++ b/src/lib/pk_pad/emsa1/emsa1.h @@ -23,7 +23,7 @@ class BOTAN_DLL EMSA1 : public EMSA /** * @param hash the hash function to use */ - EMSA1(HashFunction* hash) : m_hash(hash) {} + explicit EMSA1(HashFunction* hash) : m_hash(hash) {} protected: size_t hash_output_length() const { return m_hash->output_length(); } -- cgit v1.2.3