Fix clang

Summary: Fix build for clang

Test Plan:
USE_CLANG=1 make all -j64
make clean
make check -j64

Reviewers: yhchiang

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D50217
This commit is contained in:
Islam AbdelRahman 2015-11-04 21:02:20 -08:00
parent 2419f435a1
commit 042fb053fd

View File

@ -23,7 +23,7 @@ enum OptionsSanityCheckLevel : unsigned char {
// The sanity check level for DB options // The sanity check level for DB options
static const std::unordered_map<std::string, OptionsSanityCheckLevel> static const std::unordered_map<std::string, OptionsSanityCheckLevel>
sanity_level_db_options = {}; sanity_level_db_options;
// The sanity check level for column-family options // The sanity check level for column-family options
static const std::unordered_map<std::string, OptionsSanityCheckLevel> 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 // The sanity check level for block-based table options
static const std::unordered_map<std::string, OptionsSanityCheckLevel> static const std::unordered_map<std::string, OptionsSanityCheckLevel>
sanity_level_bbt_options = {}; sanity_level_bbt_options;
OptionsSanityCheckLevel DBOptionSanityCheckLevel( OptionsSanityCheckLevel DBOptionSanityCheckLevel(
const std::string& options_name); const std::string& options_name);