1 diff --git a/other-licenses/snappy/src/snappy.h b/other-licenses/snappy/src/snappy.h
2 --- a/other-licenses/snappy/src/snappy.h
3 +++ b/other-licenses/snappy/src/snappy.h
4 @@ -60,17 +60,17 @@ namespace snappy {
6 // If you played with other compression algorithms, level 1 is equivalent to
7 // fast mode (level 1) of LZ4, level 2 is equivalent to LZ4's level 2 mode
8 // and compresses somewhere around zstd:-3 and zstd:-2 but generally with
9 // faster decompression speeds than snappy:1 and zstd:-3.
10 int level = DefaultCompressionLevel();
12 constexpr CompressionOptions() = default;
13 - constexpr CompressionOptions(int compression_level)
14 + constexpr explicit CompressionOptions(int compression_level)
15 : level(compression_level) {}
16 static constexpr int MinCompressionLevel() { return 1; }
17 static constexpr int MaxCompressionLevel() { return 2; }
18 static constexpr int DefaultCompressionLevel() { return 1; }
21 // ------------------------------------------------------------------------
22 // Generic compression/decompression routines.