mirror of https://github.com/facebook/rocksdb.git
Fix clang compile error under Linux
This commit is contained in:
parent
73b175a773
commit
ec2664fefd
|
@ -23,7 +23,7 @@ enum OptionsSanityCheckLevel : unsigned char {
|
|||
|
||||
// The sanity check level for DB options
|
||||
static const std::unordered_map<std::string, OptionsSanityCheckLevel>
|
||||
sanity_level_db_options;
|
||||
sanity_level_db_options {};
|
||||
|
||||
// The sanity check level for column-family options
|
||||
static const std::unordered_map<std::string, OptionsSanityCheckLevel>
|
||||
|
@ -35,7 +35,7 @@ static const std::unordered_map<std::string, OptionsSanityCheckLevel>
|
|||
|
||||
// The sanity check level for block-based table options
|
||||
static const std::unordered_map<std::string, OptionsSanityCheckLevel>
|
||||
sanity_level_bbt_options;
|
||||
sanity_level_bbt_options {};
|
||||
|
||||
OptionsSanityCheckLevel DBOptionSanityCheckLevel(
|
||||
const std::string& options_name);
|
||||
|
|
Loading…
Reference in New Issue