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/compression | |
parent | 406c8e6668de8241bfd889bb4c29ea780b38a859 (diff) |
Use explicit on more single-argument constructors
Diffstat (limited to 'src/lib/compression')
-rw-r--r-- | src/lib/compression/zlib/zlib.h | 2 |
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: |