Skip to content

Commit

Permalink
Fixed an incorrect replace of const value in util/options_helper.cc
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yhchiang committed Oct 12, 2015
1 parent 0bb8ea5 commit 2379944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/options_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2379944

Please sign in to comment.