From 042fb053fd8661842e952411561119c41e7d1645 Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Wed, 4 Nov 2015 21:02:20 -0800 Subject: [PATCH] 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 --- 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 eba26462e..83f7e38c2 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);