The formal parameter types of CompressionOptions constructor should b… (#8510)

Summary:
…e consistent with the member variables's

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8510

Reviewed By: ajkr

Differential Revision: D29654067

Pulled By: mrambacher

fbshipit-source-id: 908baaddfb20c266db7c5aca6a87971393d62ee6
This commit is contained in:
zaorangyang 2021-07-15 18:05:58 -07:00 committed by Facebook GitHub Bot
parent 206845c057
commit b678cb1f86

View file

@ -173,9 +173,10 @@ struct CompressionOptions {
parallel_threads(1),
enabled(false),
max_dict_buffer_bytes(0) {}
CompressionOptions(int wbits, int _lev, int _strategy, int _max_dict_bytes,
int _zstd_max_train_bytes, int _parallel_threads,
bool _enabled, uint64_t _max_dict_buffer_bytes)
CompressionOptions(int wbits, int _lev, int _strategy,
uint32_t _max_dict_bytes, uint32_t _zstd_max_train_bytes,
uint32_t _parallel_threads, bool _enabled,
uint64_t _max_dict_buffer_bytes)
: window_bits(wbits),
level(_lev),
strategy(_strategy),