From 353331954e806a8d336132c740b8888bc7bf3650 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 30 Sep 2017 12:42:03 -0400 Subject: Use explicit on more single-argument constructors --- src/lib/hash/sha3/sha3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/hash/sha3') diff --git a/src/lib/hash/sha3/sha3.h b/src/lib/hash/sha3/sha3.h index c198515df..ac01ca6dc 100644 --- a/src/lib/hash/sha3/sha3.h +++ b/src/lib/hash/sha3/sha3.h @@ -25,7 +25,7 @@ class BOTAN_PUBLIC_API(2,0) SHA_3 : public HashFunction * @param output_bits the size of the hash output; must be one of * 224, 256, 384, or 512 */ - SHA_3(size_t output_bits); + explicit SHA_3(size_t output_bits); size_t hash_block_size() const override { return m_bitrate / 8; } size_t output_length() const override { return m_output_bits / 8; } -- cgit v1.2.3