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:
parent
0bb8ea56be
commit
2379944093
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user