Fixed an incorrect replace of const value in util/options_helper.cc

Summary: Fixed an incorrect replace of const value in util/options_helper.cc

Test Plan: options_test

Reviewers: igor, sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D48513
This commit is contained in:
Yueh-Hsuan Chiang 2015-10-11 17:40:50 -07:00
parent 0bb8ea56be
commit 2379944093

View File

@ -459,7 +459,7 @@ bool ParseOptionHelper(char* opt_address, const OptionType& opt_type,
bool SerializeSingleOptionHelper(const char* opt_address,
const OptionType opt_type,
std::string* value) {
static const std::string kNullptrString = kNullptrString;
static const std::string kNullptrString = "nullptr";
assert(value);
switch (opt_type) {
case OptionType::kBoolean: