From 82c31792d094ffcbaca6cbdf2c6d2f61a2a4af4d Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Mon, 23 Jun 2014 18:51:00 -0600 Subject: [PATCH] Revert the default setting of InitFromCmdLineArgs(). Summary: Revert the default setting of InitFromCmdLineArgs() as all the callers currently provide full set of arguments. Test Plan: make reduce_levels_test ./reduce_levels_test Reviewers: haobo, ljin Reviewed By: ljin Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D19257 --- util/ldb_cmd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/ldb_cmd.h b/util/ldb_cmd.h index 48075694c..50dcbf929 100644 --- a/util/ldb_cmd.h +++ b/util/ldb_cmd.h @@ -55,15 +55,15 @@ public: static LDBCommand* InitFromCmdLineArgs( const vector& args, - const Options& options = Options(), - const LDBOptions& ldb_options = LDBOptions() + const Options& options, + const LDBOptions& ldb_options ); static LDBCommand* InitFromCmdLineArgs( int argc, char** argv, - const Options& options = Options(), - const LDBOptions& ldb_options = LDBOptions() + const Options& options, + const LDBOptions& ldb_options ); bool ValidateCmdLineOptions();