Fix clang compile error under Linux

This commit is contained in:
Zhipeng Jia 2015-12-24 04:10:28 +08:00
parent 73b175a773
commit ec2664fefd

View File

@ -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);