From ec2664fefd231e9ad297a8d2da8c5a529aa8cee6 Mon Sep 17 00:00:00 2001 From: Zhipeng Jia Date: Thu, 24 Dec 2015 04:10:28 +0800 Subject: [PATCH] Fix clang compile error under Linux --- util/options_sanity_check.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/options_sanity_check.h b/util/options_sanity_check.h index 83f7e38c2..6f18a58c8 100644 --- a/util/options_sanity_check.h +++ b/util/options_sanity_check.h @@ -23,7 +23,7 @@ enum OptionsSanityCheckLevel : unsigned char { // The sanity check level for DB options static const std::unordered_map - sanity_level_db_options; + sanity_level_db_options {}; // The sanity check level for column-family options static const std::unordered_map @@ -35,7 +35,7 @@ static const std::unordered_map // The sanity check level for block-based table options static const std::unordered_map - sanity_level_bbt_options; + sanity_level_bbt_options {}; OptionsSanityCheckLevel DBOptionSanityCheckLevel( const std::string& options_name);