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/stream/chacha | |
parent | 406c8e6668de8241bfd889bb4c29ea780b38a859 (diff) |
Use explicit on more single-argument constructors
Diffstat (limited to 'src/lib/stream/chacha')
-rw-r--r-- | src/lib/stream/chacha/chacha.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/chacha/chacha.h b/src/lib/stream/chacha/chacha.h index e53ae9e8c..6b2371553 100644 --- a/src/lib/stream/chacha/chacha.h +++ b/src/lib/stream/chacha/chacha.h @@ -25,7 +25,7 @@ class BOTAN_PUBLIC_API(2,0) ChaCha final : public StreamCipher * @note Currently only 8, 12 or 20 rounds are supported, all others * will throw an exception */ - ChaCha(size_t rounds = 20); + explicit ChaCha(size_t rounds = 20); std::string provider() const override; |