diff options
author | Jack Lloyd <[email protected]> | 2017-09-30 12:42:03 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-30 12:42:03 -0400 |
commit | 353331954e806a8d336132c740b8888bc7bf3650 (patch) | |
tree | c333e691928533c3f6c25d1530a6374c8618a134 /src/lib/hash/sha3 | |
parent | 406c8e6668de8241bfd889bb4c29ea780b38a859 (diff) |
Use explicit on more single-argument constructors
Diffstat (limited to 'src/lib/hash/sha3')
-rw-r--r-- | src/lib/hash/sha3/sha3.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |