aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/compression/zlib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-30 12:42:03 -0400
committerJack Lloyd <[email protected]>2017-09-30 12:42:03 -0400
commit353331954e806a8d336132c740b8888bc7bf3650 (patch)
treec333e691928533c3f6c25d1530a6374c8618a134 /src/lib/compression/zlib
parent406c8e6668de8241bfd889bb4c29ea780b38a859 (diff)
Use explicit on more single-argument constructors
Diffstat (limited to 'src/lib/compression/zlib')
-rw-r--r--src/lib/compression/zlib/zlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/compression/zlib/zlib.h b/src/lib/compression/zlib/zlib.h
index 9b88a3305..2dd897981 100644
--- a/src/lib/compression/zlib/zlib.h
+++ b/src/lib/compression/zlib/zlib.h
@@ -63,7 +63,7 @@ class BOTAN_PUBLIC_API(2,0) Deflate_Decompression final : public Stream_Decompre
class BOTAN_PUBLIC_API(2,0) Gzip_Compression final : public Stream_Compression
{
public:
- Gzip_Compression(uint8_t os_code = 255) : m_os_code(os_code) {}
+ explicit Gzip_Compression(uint8_t os_code = 255) : m_os_code(os_code) {}
std::string name() const override { return "Gzip_Compression"; }
private: